.intenabled Property
Function: |
Enables/disables currently selected interrupt line (selection is made through the io.intnum property). |
Type: |
Enum (no_yes, byte) |
Value Range: |
0 — NO (default): the interrupt line is disabled 1 — YES: the interrupt line is enabled |
See Also: |
Details
Change of state of any enabled interrupt line leads to the on_io_int and on_io_int_line events to be generated. A state change of disabled interrupt lines produces no effect.
Exception Safety
There are a few situations in which an exception may be thrown when getting or setting this property. For more information, see Handling Exceptions.
Getting the Property | |
Exception |
Root Cause(s) |
std::invalid_argument |
|
Setting the Property | |
Exception |
Root Cause(s) |
std::invalid_argument |
|
std::system_error |
There was an error requesting interrupt events. |