atmega1284p/include/periph_cpu.h¶
CPU specific definitions for internal peripheral handling.
-
GPIO_PIN( x, y)¶ Define a CPU specific GPIO pin generator macro.
1
((x << 4) | y)
-
CPU_ATMEGA_EXT_INTS¶ Available external interrupt pins on the ATmega1284p family.
1 2 3
{ GPIO_PIN(PORT_D, 2), \ GPIO_PIN(PORT_D, 3), \ GPIO_PIN(PORT_B, 2) }
In order of their interrupt number
-
enum
@4¶ - PORT_A
= 0 - port A
- PORT_B
= 1 - port B
- PORT_C
= 2 - port C
- PORT_D
= 3 - port D
- PORT_A
-
I2C_PORT_REG¶ 1
PORTC
-
I2C_PIN_MASK¶ 1
(1 << PORTC0) | (1 << PORTC1)
-
EEPROM_SIZE¶ 1
(4096U) /* 4kB */