101-1028 Rabbit Semiconductor, 101-1028 Datasheet - Page 59

no-image

101-1028

Manufacturer Part Number
101-1028
Description
MODULE RABBITCORE RCM3750
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1028

Module/board Type
MPU Core Module
For Use With/related Products
RCM3750
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
RETURN VALUE
SEE ALSO
PARAMETER
RETURN VALUE
SEE ALSO
User’s Manual
void digConfig(char statemask);
gaincode is the gain code of 0 to 7. The gaincode parameter is ignored when channel is ALLCHAN.
0 if successful
-1 if address is invalid or out of range.
Configures channels PIO0 to PIO3 on the A/D converter to allow them to be used as digital I/O via
header JP4 on the RCM3700 Prototyping Board.
Remember to execute the brdInit function before calling this function to prevent a runtime error.
statemask is a bitwise mask representing JP4 channels 1 to 4. Use logic 0 for inputs and logic 1 for
outputs in these bit positions:
None.
bits 7–5—0
bit 4—JP4:4
bit 3—JP4:3
bit 2—JP4:2
bit 1—JP4:1
bit 0—0
anaInEEWr, anaInCalib
digOut, digIn
* Applies to RCM3700 Prototyping
Gain Code
Board.
0
1
2
3
4
5
6
7
Voltage Range
0–1.25
0–2.5
0–20
0–10
0–5
0–4
0–2
0–1
(V)
*
53

Related parts for 101-1028