最終更新 3 年前
Initialise the UART (serial port).
This function initializes one UART port and makes it accessible by the SERIAL library.
It is necessary to statically allocate a memory area for the FIFO buffer used internally by the SERIAL library during initialization.
At the same time, we initialize the structure for output , .
Type
Name
Remark
*
psSetup
Structure for configuring the UART.
None
refer to .
tsFILE
vfPrintf()
vPutChar()
tsSerialPortSetup