atmega328p/include/periph_cpu.h File Reference

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

Detailed Description

CPU specific definitions for internal peripheral handling.

Author
René Herthel rene-.nosp@m.hert.nosp@m.hel@o.nosp@m.utlo.nosp@m.ok.de
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file atmega328p/include/periph_cpu.h.

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

Go to the source code of this file.

Macros

Defines for the I2C interface
#define I2C_PORT_REG   PORTC
 
#define I2C_PIN_MASK   (1 << PORTC4) | (1 << PORTC5)
 
#define GPIO_PIN(x, y)   ((x << 4) | y)
 Define a CPU specific GPIO pin generator macro.
 
enum  { PORT_B = 1, PORT_C = 2, PORT_D = 3 }
 Available ports on the ATmega328p family. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Available ports on the ATmega328p family.

Enumerator
PORT_B 

port B

PORT_C 

port C

PORT_D 

port D

Definition at line 38 of file atmega328p/include/periph_cpu.h.