AVRTools
A Library for the AVR ATmega328 and ATmega2560 Microcontrollers
|
This namespace bundles various utility classes designed to suppress selected interrupts using the RAII idiom. More...
Classes | |
class | AllOff |
This class defines an object that disables all interrupts during its lifetime. Interrupt state is restored by the object's destructor when the object goes out of scope. More... | |
class | ExternalOff |
This class defines an object that disables selected external interrupts during its lifetime. The selected external interrupts are restored by the object's destructor when it goes out of scope. More... | |
class | PinChangeOff |
This class defines an object that disables selected pin change interrupts during its lifetime. The selected pin change interrupts are restored by the object's destructor when it goes out of scope. More... | |
Enumerations | |
enum | ExternalInterrupts { kExternalInterrupt0, kExternalInterrupt1, kExternalInterrupt2, kExternalInterrupt3, kExternalInterrupt4, kExternalInterrupt5, kExternalInterrupt6, kExternalInterrupt7, kExternalInterruptAll } |
This enum lists the external interrupts that can be suppressed (disabled). To pass more than one external interrupt, simply "or" them. More... | |
enum | PinChangeInterrupts { kPinChangeInterrupt0, kPinChangeInterrupt1, kPinChangeInterrupt2, kPinChangeInterruptAll } |
This enum lists the pin change interrupts that can be suppressed (disabled). To pass more than one pin change interrupt, simply "or" them. More... | |
This namespace bundles various utility classes designed to suppress selected interrupts using the RAII idiom.
This enum lists the external interrupts that can be suppressed (disabled). To pass more than one external interrupt, simply "or" them.
This enum lists the pin change interrupts that can be suppressed (disabled). To pass more than one pin change interrupt, simply "or" them.
Enumerator | |
---|---|
kPinChangeInterrupt0 | Pin change interrupt 0. |
kPinChangeInterrupt1 | Pin change interrupt 1. |
kPinChangeInterrupt2 | Pin change interrupt 2. |
kPinChangeInterruptAll | All pin change interrupts. |