BL4S200 User’s Manual
109
ser485Tx
void ser485Tx(void);
FUNCTION DESCRIPTION
Enables the RS-485 transmitter.
serMode()
must be executed before running this
function call.
NOTE:
Transmitted data are echoed back into the receive data buffer. The echoed data
could be used to identify when to disable the transmitter by using one of the following
methods.
Byte mode—disables the transmitter after the byte that is transmitted is detected in the
receive data buffer.
Block data mode—disable the transmitter after the same number of bytes transmitted are
detected in the receive data buffer.
RETURN VALUE
None.
SEE ALSO
brdInit, serMode, ser485En
ser485Rx
void ser485Rx(void);
FUNCTION DESCRIPTION
Disables the RS-485 transmitter. This puts you in listen mode, which allows you to
receive data from the RS-485 interface.
serMode()
must be executed before running
this function call.
RETURN VALUE
None.
SEE ALSO
brdInit, serMode, ser485Tx
electronic components distributor