uart settings strut - this is passed to tr_hal_uart_init
this contains protocol settings: baud rate data bits stop bits parity flow control this contains DMA settings for the UART: DMA enabled for receive DMA enabled for transmit initial DMA receive buffer (if DMA is enabled for receive) initial DMA receive buffer length (if DMA is enabled for receive) this contains settings for the user handler function for the UART: do we have a user handler (callback) for when bytes are received if we have a user handler, give a pointer to the function
uart settings strut - this is passed to tr_hal_uart_init
this contains protocol settings:
- baud rate
- data bits
- stop bits
- parity
- flow control
this contains DMA settings for the UART:
- DMA enabled for receive
- DMA enabled for transmit
- initial DMA receive buffer (if DMA is enabled for receive)
- initial DMA receive buffer length (if DMA is enabled for receive)
this contains settings for the user handler function for the UART:
- do we have a user handler (callback) for when bytes are received
- if we have a user handler, give a pointer to the function