stm32f7/include/periph_cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef PERIPH_CPU_H
21 #define PERIPH_CPU_H
22 
23 #include "cpu.h"
24 #include "periph_cpu_common.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 #ifdef CPU_MODEL_STM32F722ZE
34 #define CPUID_ADDR (0x1ff07a10)
35 #else
36 #define CPUID_ADDR (0x1ff0f420)
37 #endif
38 
42 enum {
43  PORT_A = 0,
44  PORT_B = 1,
45  PORT_C = 2,
46  PORT_D = 3,
47  PORT_E = 4,
48  PORT_F = 5,
49  PORT_G = 6,
50  PORT_H = 7,
51  PORT_I = 8,
52  PORT_J = 9,
53  PORT_K = 10
54 };
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* PERIPH_CPU_H */
61