Serial Communication - Rabbit RCM3365 User Manual

C-programmable core module with nand flash mass storage and ethernet
Table of Contents

Advertisement

void relayOut(int relay, int value);
Sets the position for the relay common contact. The default position is for normally closed contacts.
PARAMETERS
relay is the one relay (1)
value is the value used to connect the relay common contact:
0 = normally closed positions (NC1 and NC2)
1 = normally open positions (NO1 and NO2)
RETURN VALUE
None.
SEE ALSO
brdInit

5.2.6.4 Serial Communication

void ser485Tx(void);
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 meth-
ods:
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.
SEE ALSO
ser485Rx
void ser485Rx(void);
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.
SEE ALSO
ser485Tx
User's Manual
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rcm3375

Table of Contents