mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/atmega2560: external interrupt refactor
This commit is contained in:
parent
327bf09d20
commit
737c46367a
@ -44,6 +44,20 @@ enum {
|
|||||||
PORT_L = 10 /**< port L */
|
PORT_L = 10 /**< port L */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Available external interrupt pins on the ATmega2560 family
|
||||||
|
*
|
||||||
|
* In order of their interrupt number.
|
||||||
|
*/
|
||||||
|
#define CPU_ATMEGA_EXT_INTS { GPIO_PIN(PORT_D, 0), \
|
||||||
|
GPIO_PIN(PORT_D, 1), \
|
||||||
|
GPIO_PIN(PORT_D, 2), \
|
||||||
|
GPIO_PIN(PORT_D, 3), \
|
||||||
|
GPIO_PIN(PORT_E, 4), \
|
||||||
|
GPIO_PIN(PORT_E, 5), \
|
||||||
|
GPIO_PIN(PORT_E, 6), \
|
||||||
|
GPIO_PIN(PORT_E, 7) }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Defines for the I2C interface
|
* @name Defines for the I2C interface
|
||||||
* @{
|
* @{
|
||||||
|
Loading…
Reference in New Issue
Block a user