atmega1281/include/periph_cpu.h File Reference

CPU specific definitions for internal peripheral handling. More...

Detailed Description

#include "periph_cpu_common.h"
+ Include dependency graph for atmega1281/include/periph_cpu.h:

Go to the source code of this file.

Macros

Defines for the I2C interface
#define I2C_PORT_REG   PORTD
 
#define I2C_PIN_MASK   (1 << PORTD0) | (1 << PORTD1)
 
#define CPU_ATMEGA_EXT_INTS
 Available external interrupt pins on the ATmega1281 family. More...
 
enum  {
  PORT_A = 0, PORT_B = 1, PORT_C = 2, PORT_D = 3,
  PORT_E = 4, PORT_F = 5, PORT_G = 6
}
 Available ports on the ATmega1281 family. More...
 

Macro Definition Documentation

◆ CPU_ATMEGA_EXT_INTS

#define CPU_ATMEGA_EXT_INTS
Value:
{ 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) }
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.

Available external interrupt pins on the ATmega1281 family.

In order of their interrupt number.

Definition at line 50 of file atmega1281/include/periph_cpu.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Available ports on the ATmega1281 family.

Enumerator
PORT_A 

port A

PORT_B 

port B

PORT_C 

port C

PORT_D 

port D

PORT_E 

port E

PORT_F 

port F

PORT_G 

port G

Definition at line 35 of file atmega1281/include/periph_cpu.h.