Serial Communication - Rabbit RabbitCore RCM3305 User Manual

C-programmable core module with serial 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
45

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore RCM3305 and is the answer not in the manual?

This manual is also suitable for:

Rabbitcore rcm3315Rabbitcore rcm3309

Table of Contents