Digital I/O - Rabbit RCM3365 User Manual

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

Advertisement

5.2.6.2 Digital I/O

int digIn(int channel);
Reads the input state of inputs on Prototyping Board headers J5 and J6. Do not use this function if you
configure these pins for alternate use after brdInit() is called.
PARAMETERS
channels is the channel number corresponding to the signal on header J5 or J6
0—IN0
1—IN1
2—IN2
3—IN3
4—QD1B
5—QD1A
6—QD2B
7—QD2A
RETURN VALUE
The logic state (0 or 1) of the input.
SEE ALSO
brdInit
void digOut(int channel, int value);
Writes a value to an output channel on Prototyping Board header J10. Do not use this function if you
have installed the stepper motor chips at U2 and U3.
PARAMETERS
channel is output channel 0–7 (OUT00–OUT07).
value is the value (0 or 1) to output.
RETURN VALUE
None.
SEE ALSO
brdInit
User's Manual
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rcm3375

Table of Contents