1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/atmega_common: move PCINT documentation from boards

This commit is contained in:
Leandro Lanzieri 2021-10-04 10:26:33 +02:00
parent 3fc6d4247d
commit 845681448d
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 16 additions and 16 deletions

View File

@ -1,17 +1,5 @@
/**
@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
CPU and adapt your Makefile.dep and Makefile.features files.
*/
* @defgroup boards_common_atmega ATmega common
* @ingroup boards
* @brief Shared files and configuration for ATmega-based boards
*/

View File

@ -2,4 +2,16 @@
* @defgroup cpu_atmega_common Atmel ATmega CPU: common files
* @brief AVR Atmega specific code
* @ingroup cpu
*
* ### 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
* CPU and adapt your Makefile.dep and Makefile.features files.
*/