Rabbit RabbitCore User Manual page 60

C-programmable core module with ethernet, serial flash
Table of Contents

Advertisement

void digOut(int channel, int state);
Writes a state to a digital output channel on header JP4 of the RCM3700 Prototyping Board. The PIO0 to
PIO3 channels on the A/D converter chip are accessed via header JP4 on the RCM3700 Prototyping
Board.
A runtime error will occur if the brdInit function was not executed before calling this function or if
the channel is out of range.
PARAMETERS
channel is channel 1 to 4 for JP4:1 to JP4:4
state is a logic state of 0 or 1
RETURN VALUE
None.
SEE ALSO
brdInit, digIn
int digIn(int channel);
Reads the state of a digital input channel on header JP4 of the RCM3700 Prototyping Board. The PIO0 to
PIO3 channels on the A/D converter chip are accessed via header JP4 on the RCM3700 Prototyping
Board.
A runtime error will occur if the brdInit function was not executed before calling this function or if
the channel is out of range.
PARAMETERS
channel is channel 1 to 4 for JP4:1 to JP4:4
state is a logic state of 0 or 1
RETURN VALUE
None.
SEE ALSO
brdInit, digOut
54
RabbitCore RCM3750

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Rcm3750

Table of Contents