uart_vfs_dev_use_driver() function
set VFS to use UART driver for reading and writing
Syntax
void uart_vfs_dev_use_driver(int uart_num); Arguments
uart_num
UART peripheral number
Notes
Application must configure UART driver before calling these functions With these functions, read and write are blocking and interrupt-driven.
Examples
uart_vfs_dev_use_driver() is referenced by 4 libraries and example projects: