|
atMETEO
An ATmega based weather station
|
Utilities for interrupt service routines. More...
Files | |
| file | interrupt.h |
| Utilities for interrupt service routines. | |
Macros | |
| #define | CLASS_IRQ(name, vector) |
| Creates an interrupt service routine as static member function of a class. More... | |
Utilities for interrupt service routines.
| #define CLASS_IRQ | ( | name, | |
| vector | |||
| ) |
Creates an interrupt service routine as static member function of a class.
Interrupt service routines are typically introduced as free functions by using the ISR macro. When programming in C++, it might be desirable to create the interrupt service routine as part of a class.
Usage:
| name | Name of the new static member function. |
| vector | MCU specific interrupt vector name. |
1.8.13