COSA
An Object-Oriented Platform for Arduino Programming
|
#include <Interrupt.hh>
Public Member Functions | |
virtual void | on_interrupt (uint16_t arg=0) |
virtual void | enable () |
virtual void | disable () |
virtual void | clear () |
Definition at line 31 of file Interrupt.hh.
|
inlinevirtual |
Clear interrupt.
Reimplemented in InputCapture, and ExternalInterrupt.
Definition at line 59 of file Interrupt.hh.
|
inlinevirtual |
Disable interrupt handler.
Reimplemented in InputCapture, AnalogComparator, PinChangeInterrupt, and ExternalInterrupt.
Definition at line 53 of file Interrupt.hh.
|
inlinevirtual |
Enable interrupt handler.
Reimplemented in InputCapture, PinChangeInterrupt, ExternalInterrupt, and AnalogComparator.
Definition at line 47 of file Interrupt.hh.
|
inlinevirtual |
Default interrupt handler. Should override.
[in] | arg | argument from interrupt service routine. |
Reimplemented in CC1101::IRQPin, MCP7940N::AlarmInterrupt, HCI::IRQPin, Soft::UART::RXPinChangeInterrupt, AnalogPin, DHT, InputCapture, AnalogComparator, PinChangeInterrupt, AnalogPins, IR::Receiver, Alarm::Clock, and ExternalInterrupt.
Definition at line 38 of file Interrupt.hh.