atmega1281/include/periph_cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 HAW Hamburg
3  * 2016 Freie Universit├Ąt Berlin
4  * 2016 INRIA
5  *
6  * This file is subject to the terms and conditions of the GNU Lesser
7  * General Public License v2.1. See the file LICENSE in the top level
8  * directory for more details.
9  */
10 
23 #ifndef PERIPH_CPU_H
24 #define PERIPH_CPU_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #include "periph_cpu_common.h"
31 
35 enum {
36  PORT_A = 0,
37  PORT_B = 1,
38  PORT_C = 2,
39  PORT_D = 3,
40  PORT_E = 4,
41  PORT_F = 5,
42  PORT_G = 6,
43 };
44 
49 #define I2C_PORT_REG PORTD
50 #define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1)
51 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* PERIPH_CPU_H */
58