2019-08-01 09:23:04 +02:00
|
|
|
/**
|
|
|
|
@defgroup boards_common_atmega ATmega common
|
|
|
|
@ingroup boards
|
|
|
|
@brief Shared files and configuration for ATmega-based boards
|
|
|
|
|
|
|
|
### Pin Change Interrupts
|
|
|
|
|
|
|
|
Pin Change Interrupts (PCINTs) can be enabled using pseudo modules. To provide
|
|
|
|
a low-memory overhead implementation, the PCINTs are grouped into **banks**.
|
|
|
|
Each banks corresponds to one PCINT on the ATmega (PCINT0, ..., PCINT3).
|
|
|
|
|
|
|
|
To enable only a specific bank, simply add `USEMODULE += atmega_pcintN` to your
|
|
|
|
Makefile. To enable all interrupts you can use `USEMODULE += atmega_pcint`.
|
|
|
|
|
|
|
|
In case you want to add a new CPU, simply provide an `atmega_pcint.h` with your
|
2019-10-23 21:13:10 +02:00
|
|
|
CPU and adapt your Makefile.dep and Makefile.features files.
|
2019-08-01 09:23:04 +02:00
|
|
|
*/
|