stm32f3/include/periph_cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 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 
19 #ifndef PERIPH_CPU_H
20 #define PERIPH_CPU_H
21 
22 #include "periph_cpu_common.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
31 enum {
32  PORT_A = 0,
33  PORT_B = 1,
34  PORT_C = 2,
35  PORT_D = 3,
36  PORT_E = 4,
37  PORT_F = 5,
38  PORT_G = 6,
39  PORT_H = 7,
40 };
41 
45 typedef struct {
46  gpio_t pin;
47  uint8_t dac;
48  uint8_t chan;
49 } dac_conf_t;
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* PERIPH_CPU_H */
56 
CPU specific DAC configuration.
uint8_t dac
The DAC to use, 0 or 1.