SERIAL_vInit()
Explanation
Initialise the UART (serial port).
This function initializes one UART port and makes it accessible by the SERIAL library.
Argument
Type
Name
Remark
Returns
None
Sample code
refer to tsSerialPortSetup.
最終更新
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 tsFILE structure for output vfPrintf(), vPutChar().
Type
Name
Remark
None
refer to tsSerialPortSetup.
最終更新