Home
last modified time | relevance | path

Searched refs:usartInit (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_gecko_usart.c324 USART_InitSync_TypeDef usartInit = USART_INITSYNC_DEFAULT; in spi_gecko_init() local
330 usartInit.enable = usartDisable; in spi_gecko_init()
331 usartInit.baudrate = 1000000; in spi_gecko_init()
332 usartInit.databits = usartDatabits8; in spi_gecko_init()
333 usartInit.master = 1; in spi_gecko_init()
334 usartInit.msbf = 1; in spi_gecko_init()
335 usartInit.clockMode = usartClockMode0; in spi_gecko_init()
337 usartInit.prsRxEnable = 0; in spi_gecko_init()
338 usartInit.prsRxCh = 0; in spi_gecko_init()
339 usartInit.autoTx = 0; in spi_gecko_init()
[all …]
/Zephyr-latest/drivers/serial/
Duart_gecko.c454 USART_InitAsync_TypeDef usartInit = USART_INITASYNC_DEFAULT; in uart_gecko_init() local
468 usartInit.baudrate = config->baud_rate; in uart_gecko_init()
470 usartInit.hwFlowControl = config->hw_flowcontrol ? in uart_gecko_init()
473 USART_InitAsync(config->base, &usartInit); in uart_gecko_init()