Skip to main content

uart_vfs_dev_use_driver

Function uart_vfs_dev_use_driver 

Source
pub unsafe extern "C" fn uart_vfs_dev_use_driver(uart_num: i32)
Expand description

@brief set VFS to use UART driver for reading and writing

@note Application must configure UART driver before calling these functions With these functions, read and write are blocking and interrupt-driven.

@param uart_num UART peripheral number