NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RS485Initialize ( void  )

Initialize RS485 port.

Initialize the RS485 UART port to its default values. The baud rate is set to 921600 and the mode is set to 8N1 (8 data bits, no parity, 1 stop bit). Data cannot be sent or received over the RS485 port until the port is configured as as a hi-speed port, the port is turned on, and the UART is initialized.

A char value indicating whether the function call succeeded or not.
This function requires the enhanced NBC/NXC firmware.