Define an interface to a weak function used to provide the otw process with the UART configuration used by the application. More...
Data Structures | |
struct | zpal_otw_uart_config_t |
Functions | |
void | zpal_otw_hw_config (zpal_otw_uart_config_t *uart_config, zpal_uart_config_ext_t *uart_gpio_config) |
Get the application UART configuration Retreive the UART configuration used by the application. | |
Define an interface to a weak function used to provide the otw process with the UART configuration used by the application.
void zpal_otw_hw_config | ( | zpal_otw_uart_config_t * | uart_config, |
zpal_uart_config_ext_t * | uart_gpio_config ) |
Get the application UART configuration Retreive the UART configuration used by the application.
Note: this is a weak function. If not defined then the OTW process will assume application is usibng UART0 running at 115200 buad,8 data bits, no parity, 1 start, and 1 stop bit. Tx on gpio17 and rx on gpio16.
[out] | uart_config | Pointer UART configuration used by the application. |
[out] | uart_gpio_config | Pointer UART gpios used by the application. |