periph_conf.h
Go to the documentation of this file.
1 
16 #ifndef PERIPH_CONF_H
17 #define PERIPH_CONF_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
27 #define NATIVE_TIMER_MIN_RES 200
28 
34 #define RANDOM_NUMOF (1U)
35 
41 #define TIMER_NUMOF (1U)
42 #define TIMER_0_EN 1
43 
47 /* timer_set_absolute() has a high margin for possible underflow if set with
48  * value not far in the future. To prevent this, we set high backoff values
49  * here.
50  */
51 #define XTIMER_BACKOFF 200
52 #define XTIMER_ISR_BACKOFF 200
53 
60 #ifndef UART_NUMOF
61 #define UART_NUMOF (1U)
62 #endif
63 
68 #ifndef PWM_NUMOF
69 #define PWM_NUMOF (8U)
70 #endif
71 
75 #ifndef QDEC_NUMOF
76 #define QDEC_NUMOF (8U)
77 #endif
78 
83 #if !defined(SPI_NUMOF) || defined(DOXYGEN)
84 
93 #define SPI_NUMOF (1U)
94 #endif
95 
96 #if !defined(SPI_MAXCS) || defined(DOXYGEN)
97 
103 #define SPI_MAXCS (4U)
104 #endif
105 
114 #define SPI_HWCS(x) (x)
115 
117 #ifdef __cplusplus
118 }
119 #endif
120 
121 #endif /* PERIPH_CONF_H */
122