19.3.4 Interrupts
Name | Vector Description | Interrupt Flag | Conditions |
---|---|---|---|
MVIO | VDDIO2 interrupt | VDDIO2IF | VDDIO2S toggles |
A change in the VDDIO2 Status (VDDIO2S) bit in the Status (MVIO.STATUS) register can trigger an interrupt. This interrupt can be enabled or disabled by writing to the VDDIO2 Interrupt Enable (VDDIO2IE) bit in the Interrupt Control (MVIO.INTCTRL) register.
When an interrupt condition occurs, the corresponding interrupt flag is set in the peripheral’s Interrupt Flags (peripheral.INTFLAGS) register.
An interrupt source is enabled or disabled by writing to the corresponding enable bit in the peripheral’s Interrupt Control (peripheral.INTCTRL) register.
An interrupt request is generated when the corresponding interrupt source is enabled, and the interrupt flag is set. The interrupt request remains active until the interrupt flag is cleared. See the peripheral’s INTFLAGS register for details on how to clear interrupt flags.