COSA
An Object-Oriented Platform for Arduino Programming
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Interrupt.hh
Go to the documentation of this file.
1
21
#ifndef COSA_INTERRUPT_HH
22
#define COSA_INTERRUPT_HH
23
24
#include "
Cosa/Types.h
"
25
29
class
Interrupt
{
30
public
:
31
class
Handler
{
32
public
:
38
virtual
void
on_interrupt
(uint16_t arg = 0)
39
{
40
UNUSED
(arg);
41
}
42
47
virtual
void
enable
() {}
48
53
virtual
void
disable
() {}
54
59
virtual
void
clear
() {}
60
};
61
};
62
#endif
63
Types.h
Interrupt::Handler::enable
virtual void enable()
Definition:
Interrupt.hh:47
Interrupt::Handler::disable
virtual void disable()
Definition:
Interrupt.hh:53
Interrupt::Handler::on_interrupt
virtual void on_interrupt(uint16_t arg=0)
Definition:
Interrupt.hh:38
Interrupt
Definition:
Interrupt.hh:29
UNUSED
#define UNUSED(x)
Definition:
ATmega328P.hh:31
Interrupt::Handler::clear
virtual void clear()
Definition:
Interrupt.hh:59
Interrupt::Handler
Definition:
Interrupt.hh:31
cores
cosa
Cosa
Interrupt.hh
Generated on Thu Aug 31 2017 17:02:02 for COSA by
1.8.11