Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
46
RabbitCore RCM3309/RCM3319
5.2.6.4 Serial Communication
ser485Tx
void ser485Tx(void);
DESCRIPTION
Enables the RS-485 transmitter. Transmitted data are echoed back into the receive data
buffer. The echoed data may be used as an indicator for disabling the transmitter by using
one of the following methods:
Byte mode—disable the transmitter after the same 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.
Remember to call the
serXopen()
function before running this function.
RETURN VALUE
None.
SEE ALSO
ser485Rx
ser485Rx
void ser485Rx(void);
DESCRIPTION
Disables the RS-485 transmitter. This puts the device into the listen mode, which allows
it to receive data from the RS-485 interface.
Remember to call the
serXopen()
function before running this function.
RETURN VALUE
None.
SEE ALSO
ser485Tx
53 / 191
53 / 191