Set OnIntx On|Off
x | 0 to 3, External interrupt channel |
At power on, Set OnIntx
is On
by default.
This command turns on or off the ability to receive individual external
interrupts. x
corresponds to the interrupt number supported by the device.
For example OnInt1
is used for interrupt 1.
When Set OnIntx
is On
for a specific interrupt, the interrupt service routine
(ISR) set using the On Intx
command will be executed when the
corresponding interrupt occurs. If Set OnIntx
is Off
, then the ISR will not
be executed when the corresponding external interrupt occurs. See also the
Set Intx command which controls external interrupts.
Set OnInt0 On Set OnInt1 On Set OnInt1 Off Set OnInt2 Off Set OnInt3 On