38.1.5.18 usart_async_flush_rx_buffer
flush USART ringbuf
int32_t usart_async_flush_rx_buffer(
struct usart_async_descriptor *const descr
)
This function flush USART RX ringbuf.
Parameters
- descr
-
Type: struct usart_async_descriptor Struct *const
The pointer to USART descriptor
Returns
Type: int32_t
ERR_NONE