5 #include "hal-config-types.h"
7 // This file is auto-generated by Hardware Configurator in Simplicity Studio.
8 // Any content between $[ and ]$ will be replaced whenever the file is regenerated.
9 // Content outside these regions will be preserved.
36 #define BSP_BUTTON_PRESENT (1)
38 #define BSP_BUTTON0_PIN (14U)
39 #define BSP_BUTTON0_PORT (gpioPortD)
41 #define BSP_BUTTON1_PIN (15U)
42 #define BSP_BUTTON1_PORT (gpioPortD)
44 #define BSP_BUTTON_COUNT (2U)
45 #define BSP_BUTTON_INIT \
47 {BSP_BUTTON0_PORT, BSP_BUTTON0_PIN}, { BSP_BUTTON1_PORT, BSP_BUTTON1_PIN } \
49 #define BSP_BUTTON_GPIO_DOUT (HAL_GPIO_DOUT_LOW)
50 #define BSP_BUTTON_GPIO_MODE (HAL_GPIO_MODE_INPUT)
54 #define HAL_CLK_HFCLK_SOURCE (HAL_CLK_HFCLK_SOURCE_HFXO)
55 #define HAL_CLK_LFECLK_SOURCE (HAL_CLK_LFCLK_SOURCE_LFRCO)
56 #define HAL_CLK_LFBCLK_SOURCE (HAL_CLK_LFCLK_SOURCE_LFRCO)
57 #define BSP_CLK_LFXO_PRESENT (1)
58 #define BSP_CLK_HFXO_PRESENT (1)
59 #define BSP_CLK_LFXO_INIT CMU_LFXOINIT_DEFAULT
60 #define BSP_CLK_LFXO_CTUNE (32U)
61 #define BSP_CLK_LFXO_FREQ (32768U)
62 #define HAL_CLK_LFACLK_SOURCE (HAL_CLK_LFCLK_SOURCE_LFRCO)
63 #define BSP_CLK_HFXO_FREQ (38400000UL)
64 #define BSP_CLK_HFXO_CTUNE (332)
65 #define BSP_CLK_HFXO_INIT CMU_HFXOINIT_DEFAULT
66 #define BSP_CLK_HFXO_CTUNE_TOKEN (0)
67 #define HAL_CLK_HFXO_AUTOSTART (HAL_CLK_HFXO_AUTOSTART_NONE)
80 #define BSP_DCDC_PRESENT (1)
82 #define HAL_DCDC_BYPASS (0)
83 #define BSP_DCDC_INIT EMU_DCDCINIT_DEFAULT
96 #define PORTIO_GPIO_SWCLKTCK_PIN (0)
97 #define PORTIO_GPIO_SWCLKTCK_PORT (gpioPortF)
98 #define PORTIO_GPIO_DBGROUTE_LOC (0)
100 #define PORTIO_GPIO_SWDIOTMS_PIN (1)
101 #define PORTIO_GPIO_SWDIOTMS_PORT (gpioPortF)
103 #define PORTIO_GPIO_SWV_PIN (2)
104 #define PORTIO_GPIO_SWV_PORT (gpioPortF)
105 #define PORTIO_GPIO_SWV_LOC (0)
107 #define PORTIO_GPIO_TCLK_PIN (8)
108 #define PORTIO_GPIO_TCLK_PORT (gpioPortF)
109 #define PORTIO_GPIO_TCLK_LOC (0)
111 #define PORTIO_GPIO_TD0_PIN (9)
112 #define PORTIO_GPIO_TD0_PORT (gpioPortF)
113 #define PORTIO_GPIO_TD0_LOC (0)
115 #define PORTIO_GPIO_TD1_PIN (10)
116 #define PORTIO_GPIO_TD1_PORT (gpioPortF)
117 #define PORTIO_GPIO_TD1_LOC (0)
119 #define PORTIO_GPIO_TD2_PIN (11)
120 #define PORTIO_GPIO_TD2_PORT (gpioPortF)
121 #define PORTIO_GPIO_TD2_LOC (0)
123 #define PORTIO_GPIO_TD3_PIN (12)
124 #define PORTIO_GPIO_TD3_PORT (gpioPortF)
125 #define PORTIO_GPIO_TD3_LOC (0)
130 #define PORTIO_I2C0_SCL_PIN (10)
131 #define PORTIO_I2C0_SCL_PORT (gpioPortC)
132 #define PORTIO_I2C0_SCL_LOC (14)
134 #define PORTIO_I2C0_SDA_PIN (11)
135 #define PORTIO_I2C0_SDA_PORT (gpioPortC)
136 #define PORTIO_I2C0_SDA_LOC (16)
153 #define BSP_LED_PRESENT (1)
155 #define BSP_LED0_PIN (8)
156 #define BSP_LED0_PORT (gpioPortD)
158 #define BSP_LED1_PIN (9)
159 #define BSP_LED1_PORT (gpioPortD)
161 #define HAL_LED_ENABLE \
165 #define HAL_LED_COUNT (2)
166 #define BSP_LED_COUNT (2)
167 #define BSP_LED_INIT \
169 {BSP_LED0_PORT, BSP_LED0_PIN}, { BSP_LED1_PORT, BSP_LED1_PIN } \
189 #define HAL_PA_ENABLE (1)
191 #define HAL_PA_RAMP (10)
192 #define HAL_PA_2P4_LOWPOWER (0)
193 #define HAL_PA_POWER (252)
194 #define HAL_PA_VOLTAGE (3300)
195 #define HAL_PA_CURVE_HEADER "pa_curves_efr32.h"
211 #define PORTIO_PRS_CH4_PIN (13)
212 #define PORTIO_PRS_CH4_PORT (gpioPortD)
213 #define PORTIO_PRS_CH4_LOC (4)
218 #define PORTIO_PTI_DFRAME_PIN (13)
219 #define PORTIO_PTI_DFRAME_PORT (gpioPortB)
220 #define PORTIO_PTI_DFRAME_LOC (6)
222 #define PORTIO_PTI_DOUT_PIN (12)
223 #define PORTIO_PTI_DOUT_PORT (gpioPortB)
224 #define PORTIO_PTI_DOUT_LOC (6)
226 #define HAL_PTI_ENABLE (1)
228 #define BSP_PTI_DFRAME_PIN (13)
229 #define BSP_PTI_DFRAME_PORT (gpioPortB)
230 #define BSP_PTI_DFRAME_LOC (6)
232 #define BSP_PTI_DOUT_PIN (12)
233 #define BSP_PTI_DOUT_PORT (gpioPortB)
234 #define BSP_PTI_DOUT_LOC (6)
236 #define HAL_PTI_MODE (HAL_PTI_MODE_UART)
237 #define HAL_PTI_BAUD_RATE (1600000)
244 #define HAL_SERIAL_USART0_ENABLE (0)
245 #define HAL_SERIAL_LEUART0_ENABLE (0)
246 #define HAL_SERIAL_USART1_ENABLE (0)
247 #define HAL_SERIAL_USART2_ENABLE (0)
248 #define HAL_SERIAL_USART3_ENABLE (0)
249 #define HAL_SERIAL_RXWAKE_ENABLE (0)
250 #define BSP_SERIAL_APP_CTS_PIN (2)
251 #define BSP_SERIAL_APP_CTS_PORT (gpioPortA)
252 #define BSP_SERIAL_APP_CTS_LOC (30)
254 #define BSP_SERIAL_APP_RX_PIN (1)
255 #define BSP_SERIAL_APP_RX_PORT (gpioPortA)
256 #define BSP_SERIAL_APP_RX_LOC (0)
258 #define BSP_SERIAL_APP_TX_PIN (0)
259 #define BSP_SERIAL_APP_TX_PORT (gpioPortA)
260 #define BSP_SERIAL_APP_TX_LOC (0)
262 #define BSP_SERIAL_APP_RTS_PIN (3)
263 #define BSP_SERIAL_APP_RTS_PORT (gpioPortA)
264 #define BSP_SERIAL_APP_RTS_LOC (30)
266 #define HAL_SERIAL_APP_RX_QUEUE_SIZE (128)
267 #define HAL_SERIAL_APP_BAUD_RATE (115200)
268 #define HAL_SERIAL_APP_RXSTOP (16)
269 #define HAL_SERIAL_APP_RXSTART (16)
270 #define HAL_SERIAL_APP_TX_QUEUE_SIZE (128)
271 #define HAL_SERIAL_APP_FLOW_CONTROL (HAL_USART_FLOW_CONTROL_NONE)
290 #define PORTIO_USART0_CTS_PIN (2)
291 #define PORTIO_USART0_CTS_PORT (gpioPortA)
292 #define PORTIO_USART0_CTS_LOC (30)
294 #define PORTIO_USART0_RTS_PIN (3)
295 #define PORTIO_USART0_RTS_PORT (gpioPortA)
296 #define PORTIO_USART0_RTS_LOC (30)
298 #define PORTIO_USART0_RX_PIN (1)
299 #define PORTIO_USART0_RX_PORT (gpioPortA)
300 #define PORTIO_USART0_RX_LOC (0)
302 #define PORTIO_USART0_TX_PIN (0)
303 #define PORTIO_USART0_TX_PORT (gpioPortA)
304 #define PORTIO_USART0_TX_LOC (0)
306 #define HAL_USART0_ENABLE (1)
308 #define BSP_USART0_CTS_PIN (2)
309 #define BSP_USART0_CTS_PORT (gpioPortA)
310 #define BSP_USART0_CTS_LOC (30)
312 #define BSP_USART0_RX_PIN (1)
313 #define BSP_USART0_RX_PORT (gpioPortA)
314 #define BSP_USART0_RX_LOC (0)
316 #define BSP_USART0_TX_PIN (0)
317 #define BSP_USART0_TX_PORT (gpioPortA)
318 #define BSP_USART0_TX_LOC (0)
320 #define BSP_USART0_RTS_PIN (3)
321 #define BSP_USART0_RTS_PORT (gpioPortA)
322 #define BSP_USART0_RTS_LOC (30)
324 #define HAL_USART0_RX_QUEUE_SIZE (128)
325 #define HAL_USART0_BAUD_RATE (115200)
326 #define HAL_USART0_RXSTOP (16)
327 #define HAL_USART0_RXSTART (16)
328 #define HAL_USART0_TX_QUEUE_SIZE (128)
329 #define HAL_USART0_FLOW_CONTROL (HAL_USART_FLOW_CONTROL_NONE)
333 #define PORTIO_USART1_CLK_PIN (8)
334 #define PORTIO_USART1_CLK_PORT (gpioPortC)
335 #define PORTIO_USART1_CLK_LOC (11)
337 #define PORTIO_USART1_CS_PIN (9)
338 #define PORTIO_USART1_CS_PORT (gpioPortC)
339 #define PORTIO_USART1_CS_LOC (11)
341 #define PORTIO_USART1_RX_PIN (7)
342 #define PORTIO_USART1_RX_PORT (gpioPortC)
343 #define PORTIO_USART1_RX_LOC (11)
345 #define PORTIO_USART1_TX_PIN (6)
346 #define PORTIO_USART1_TX_PORT (gpioPortC)
347 #define PORTIO_USART1_TX_LOC (11)
352 #define PORTIO_USART2_CLK_PIN (8)
353 #define PORTIO_USART2_CLK_PORT (gpioPortA)
354 #define PORTIO_USART2_CLK_LOC (1)
356 #define PORTIO_USART2_CS_PIN (9)
357 #define PORTIO_USART2_CS_PORT (gpioPortA)
358 #define PORTIO_USART2_CS_LOC (1)
360 #define PORTIO_USART2_RX_PIN (7)
361 #define PORTIO_USART2_RX_PORT (gpioPortA)
362 #define PORTIO_USART2_RX_LOC (1)
364 #define PORTIO_USART2_TX_PIN (6)
365 #define PORTIO_USART2_TX_PORT (gpioPortA)
366 #define PORTIO_USART2_TX_LOC (1)
371 #define PORTIO_USART3_CTS_PIN (8)
372 #define PORTIO_USART3_CTS_PORT (gpioPortD)
373 #define PORTIO_USART3_CTS_LOC (28)
375 #define PORTIO_USART3_RTS_PIN (9)
376 #define PORTIO_USART3_RTS_PORT (gpioPortD)
377 #define PORTIO_USART3_RTS_LOC (28)
379 #define PORTIO_USART3_RX_PIN (7)
380 #define PORTIO_USART3_RX_PORT (gpioPortB)
381 #define PORTIO_USART3_RX_LOC (10)
383 #define PORTIO_USART3_TX_PIN (6)
384 #define PORTIO_USART3_TX_PORT (gpioPortB)
385 #define PORTIO_USART3_TX_LOC (10)
407 #endif /* HAL_CONFIG_H */