20-101-1196 Rabbit Semiconductor, 20-101-1196 Datasheet - Page 52

MODULE RABBITCORE RCM3900

20-101-1196

Manufacturer Part Number
20-101-1196
Description
MODULE RABBITCORE RCM3900
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1196

Module/board Type
MPU Core Module
For Use With/related Products
RCM3900
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-101-1196
316-1155
5.2.7.3 Switches, LEDs, and Relay
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
RabbitCore RCM3900 User’s Manual
int switchIn(int swin);
brdInit
Reads the state of a switch input.
A runtime error will occur if brdInit() has not been called first or if the swin
parameter is invalid.
swin
State of the switch input:
1 = open
0 = closed
switch input to read:
2—S2
3—S3
switchIn
52

Related parts for 20-101-1196