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 (6U)
39 #define BSP_BUTTON0_PORT (gpioPortF)
41 #define BSP_BUTTON1_PIN (7U)
42 #define BSP_BUTTON1_PORT (gpioPortF)
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 (0U)
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 (285)
65 #define BSP_CLK_HFXO_INIT CMU_HFXOINIT_DEFAULT
66 #define BSP_CLK_HFXO_CTUNE_TOKEN (1)
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 HAL_FEM_ENABLE (1)
98 #define BSP_FEM_RX_PIN (10U)
99 #define BSP_FEM_RX_PORT (gpioPortD)
100 #define BSP_FEM_RX_LOC (0U)
102 #define BSP_FEM_SLEEP_PIN (11U)
103 #define BSP_FEM_SLEEP_PORT (gpioPortD)
104 #define BSP_FEM_SLEEP_LOC (13U)
106 #define HAL_FEM_RX_ACTIVE (1)
107 #define BSP_FEM_RX_CHANNEL (5)
108 #define HAL_FEM_TX_ACTIVE (0)
109 #define HAL_FEM_BYPASS_ENABLE (0)
110 #define BSP_FEM_SLEEP_CHANNEL (6)
111 #define HAL_FEM_TX_HIGH_POWER (0)
115 #define PORTIO_GPIO_SWV_PIN (2U)
116 #define PORTIO_GPIO_SWV_PORT (gpioPortF)
117 #define PORTIO_GPIO_SWV_LOC (0U)
122 #define PORTIO_I2C0_SCL_PIN (11U)
123 #define PORTIO_I2C0_SCL_PORT (gpioPortC)
124 #define PORTIO_I2C0_SCL_LOC (15U)
126 #define PORTIO_I2C0_SDA_PIN (10U)
127 #define PORTIO_I2C0_SDA_PORT (gpioPortC)
128 #define PORTIO_I2C0_SDA_LOC (15U)
145 #define BSP_LED_PRESENT (1)
147 #define BSP_LED0_PIN (6U)
148 #define BSP_LED0_PORT (gpioPortF)
150 #define BSP_LED1_PIN (7U)
151 #define BSP_LED1_PORT (gpioPortF)
153 #define HAL_LED_ENABLE \
157 #define HAL_LED_COUNT (2U)
158 #define BSP_LED_COUNT (2U)
159 #define BSP_LED_INIT \
161 {BSP_LED0_PORT, BSP_LED0_PIN}, { BSP_LED1_PORT, BSP_LED1_PIN } \
178 #define HAL_PA_ENABLE (1)
180 #define HAL_PA_RAMP (10UL)
181 #define HAL_PA_2P4_LOWPOWER (0)
182 #define HAL_PA_POWER (252U)
183 #define HAL_PA_VOLTAGE (3300U)
184 #define HAL_PA_CURVE_HEADER "pa_curves_efr32.h"
200 #define PORTIO_PRS_CH4_PIN (13U)
201 #define PORTIO_PRS_CH4_PORT (gpioPortD)
202 #define PORTIO_PRS_CH4_LOC (4U)
204 #define PORTIO_PRS_CH5_PIN (10U)
205 #define PORTIO_PRS_CH5_PORT (gpioPortD)
206 #define PORTIO_PRS_CH5_LOC (0U)
208 #define PORTIO_PRS_CH6_PIN (11U)
209 #define PORTIO_PRS_CH6_PORT (gpioPortD)
210 #define PORTIO_PRS_CH6_LOC (13U)
215 #define PORTIO_PTI_DFRAME_PIN (13U)
216 #define PORTIO_PTI_DFRAME_PORT (gpioPortB)
217 #define PORTIO_PTI_DFRAME_LOC (6U)
219 #define PORTIO_PTI_DOUT_PIN (11U)
220 #define PORTIO_PTI_DOUT_PORT (gpioPortB)
221 #define PORTIO_PTI_DOUT_LOC (5U)
223 #define HAL_PTI_ENABLE (1)
225 #define BSP_PTI_DFRAME_PIN (13U)
226 #define BSP_PTI_DFRAME_PORT (gpioPortB)
227 #define BSP_PTI_DFRAME_LOC (6U)
229 #define BSP_PTI_DOUT_PIN (11U)
230 #define BSP_PTI_DOUT_PORT (gpioPortB)
231 #define BSP_PTI_DOUT_LOC (5U)
233 #define HAL_PTI_MODE (HAL_PTI_MODE_UART)
234 #define HAL_PTI_BAUD_RATE (1600000UL)
241 #define HAL_SERIAL_USART0_ENABLE (0)
242 #define HAL_SERIAL_LEUART0_ENABLE (0)
243 #define HAL_SERIAL_USART1_ENABLE (0)
244 #define HAL_SERIAL_USART2_ENABLE (0)
245 #define HAL_SERIAL_USART3_ENABLE (0)
246 #define HAL_SERIAL_RXWAKE_ENABLE (0)
247 #define BSP_SERIAL_APP_CTS_PIN (2U)
248 #define BSP_SERIAL_APP_CTS_PORT (gpioPortA)
249 #define BSP_SERIAL_APP_CTS_LOC (30U)
251 #define BSP_SERIAL_APP_RX_PIN (1U)
252 #define BSP_SERIAL_APP_RX_PORT (gpioPortA)
253 #define BSP_SERIAL_APP_RX_LOC (0U)
255 #define BSP_SERIAL_APP_TX_PIN (0U)
256 #define BSP_SERIAL_APP_TX_PORT (gpioPortA)
257 #define BSP_SERIAL_APP_TX_LOC (0U)
259 #define BSP_SERIAL_APP_RTS_PIN (3U)
260 #define BSP_SERIAL_APP_RTS_PORT (gpioPortA)
261 #define BSP_SERIAL_APP_RTS_LOC (30U)
263 #define HAL_SERIAL_APP_RX_QUEUE_SIZE (128UL)
264 #define HAL_SERIAL_APP_BAUD_RATE (115200UL)
265 #define HAL_SERIAL_APP_RXSTOP (16UL)
266 #define HAL_SERIAL_APP_RXSTART (16UL)
267 #define HAL_SERIAL_APP_TX_QUEUE_SIZE (128UL)
268 #define HAL_SERIAL_APP_FLOW_CONTROL (HAL_USART_FLOW_CONTROL_HWUART)
287 #define PORTIO_USART0_CTS_PIN (2U)
288 #define PORTIO_USART0_CTS_PORT (gpioPortA)
289 #define PORTIO_USART0_CTS_LOC (30U)
291 #define PORTIO_USART0_RTS_PIN (3U)
292 #define PORTIO_USART0_RTS_PORT (gpioPortA)
293 #define PORTIO_USART0_RTS_LOC (30U)
295 #define PORTIO_USART0_RX_PIN (1U)
296 #define PORTIO_USART0_RX_PORT (gpioPortA)
297 #define PORTIO_USART0_RX_LOC (0U)
299 #define PORTIO_USART0_TX_PIN (0U)
300 #define PORTIO_USART0_TX_PORT (gpioPortA)
301 #define PORTIO_USART0_TX_LOC (0U)
303 #define HAL_USART0_ENABLE (1)
305 #define BSP_USART0_CTS_PIN (2U)
306 #define BSP_USART0_CTS_PORT (gpioPortA)
307 #define BSP_USART0_CTS_LOC (30U)
309 #define BSP_USART0_RX_PIN (1U)
310 #define BSP_USART0_RX_PORT (gpioPortA)
311 #define BSP_USART0_RX_LOC (0U)
313 #define BSP_USART0_TX_PIN (0U)
314 #define BSP_USART0_TX_PORT (gpioPortA)
315 #define BSP_USART0_TX_LOC (0U)
317 #define BSP_USART0_RTS_PIN (3U)
318 #define BSP_USART0_RTS_PORT (gpioPortA)
319 #define BSP_USART0_RTS_LOC (30U)
321 #define HAL_USART0_RX_QUEUE_SIZE (128UL)
322 #define HAL_USART0_BAUD_RATE (115200UL)
323 #define HAL_USART0_RXSTOP (16UL)
324 #define HAL_USART0_RXSTART (16UL)
325 #define HAL_USART0_TX_QUEUE_SIZE (128UL)
326 #define HAL_USART0_FLOW_CONTROL (HAL_USART_FLOW_CONTROL_HWUART)
330 #define PORTIO_USART1_CLK_PIN (8U)
331 #define PORTIO_USART1_CLK_PORT (gpioPortC)
332 #define PORTIO_USART1_CLK_LOC (11U)
334 #define PORTIO_USART1_CS_PIN (9U)
335 #define PORTIO_USART1_CS_PORT (gpioPortC)
336 #define PORTIO_USART1_CS_LOC (11U)
338 #define PORTIO_USART1_RX_PIN (7U)
339 #define PORTIO_USART1_RX_PORT (gpioPortC)
340 #define PORTIO_USART1_RX_LOC (11U)
342 #define PORTIO_USART1_TX_PIN (6U)
343 #define PORTIO_USART1_TX_PORT (gpioPortC)
344 #define PORTIO_USART1_TX_LOC (11U)
372 #endif /* HAL_CONFIG_H */