Embedded TCP/IP stack  4.7.0

◆ fnet_cpu_serial_init()

fnet_return_t fnet_cpu_serial_init ( fnet_index_t  port_number,
fnet_uint32_t  baud_rate 
)

Initializes the serial port.

Parameters
port_numberSerial port number.
baud_rateBaud rate to be set to the serial port.
Returns
This function returns:
See also
fnet_cpu_serial_putchar(), fnet_cpu_serial_getchar()

This function executes the HW initialization of the serial port defined by the port_number.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net