COSA
An Object-Oriented Platform for Arduino Programming
Interrupt::Handler Class Reference

#include <Interrupt.hh>

Inheritance diagram for Interrupt::Handler:
Inheritance graph
Collaboration diagram for Interrupt::Handler:
Collaboration graph

Public Member Functions

virtual void on_interrupt (uint16_t arg=0)
 
virtual void enable ()
 
virtual void disable ()
 
virtual void clear ()
 

Detailed Description

Definition at line 31 of file Interrupt.hh.

Member Function Documentation

virtual void Interrupt::Handler::clear ( )
inlinevirtual

Clear interrupt.

Reimplemented in InputCapture, and ExternalInterrupt.

Definition at line 59 of file Interrupt.hh.

virtual void Interrupt::Handler::disable ( )
inlinevirtual

Disable interrupt handler.

Reimplemented in InputCapture, AnalogComparator, PinChangeInterrupt, and ExternalInterrupt.

Definition at line 53 of file Interrupt.hh.

virtual void Interrupt::Handler::enable ( )
inlinevirtual

Enable interrupt handler.

Reimplemented in InputCapture, PinChangeInterrupt, ExternalInterrupt, and AnalogComparator.

Definition at line 47 of file Interrupt.hh.

virtual void Interrupt::Handler::on_interrupt ( uint16_t  arg = 0)
inlinevirtual

Default interrupt handler. Should override.

Parameters
[in]argargument 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.


The documentation for this class was generated from the following file: