atmega1281/include/periph_cpu.h¶
CPU specific definitions for internal peripheral handling.
-
CPU_ATMEGA_EXT_INTS¶ Available external interrupt pins on the ATmega1281 family.
1 2 3 4 5 6 7 8
{ 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) }
In order of their interrupt number.
-
enum
@3¶ - PORT_A
= 0 - port A
- PORT_B
= 1 - port B
- PORT_C
= 2 - port C
- PORT_D
= 3 - port D
- PORT_E
= 4 - port E
- PORT_F
= 5 - port F
- PORT_G
= 6 - port G
- PORT_A
-
I2C_PORT_REG¶ 1
PORTD
-
I2C_PIN_MASK¶ 1
(1 << PORTD0) | (1 << PORTD1)
-
EEPROM_SIZE¶ 1
(4096U) /* 4kB */