101-0898 Rabbit Semiconductor, 101-0898 Datasheet - Page 58

no-image

101-0898

Manufacturer Part Number
101-0898
Description
KIT WEB SECURE EMBEDDED RCM3700
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Datasheets

Specifications of 101-0898

Main Purpose
Interface, Ethernet
Utilized Ic / Part
RCM3700
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Secondary Attributes
-
Embedded
-
Primary Attributes
-
Other names
101-898
101-898
RETURN VALUE
SEE ALSO
PARAMETER
RETURN VALUE
SEE ALSO
RabbitCore RCM3700 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.
-2 if there is no valid ID block.
-3 if there is an error writing to flash memory.
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)
*
56

Related parts for 101-0898