EasyManua.ls Logo

Rabbit Wildcat BL2010 - Page 53

Rabbit Wildcat BL2010
95 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-0455 - COMPUTER SGL-BOARD ETH BL2010
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com
48 Wildcat (BL2000)
TLC1543 commands (the TLC1543 is a 10-bit A/D converter)
D7D4
Channel 0 - 10
Channel 11 = (Vref+ - Vref-)/2
Channel 12 = Vref-
Channel 13 = Vref+
(No software power-down mode available)
D3D0
No specific values assigned.
PARAMETERS
cmd is the A/D converter input channel (0–10) to read.
len is the output data length:
0 = 12-bit mode (BL2000/BL2020 only)
1 = 8-bit mode (BL2000/BL2020 only)
2 = 10-bit mode (BL2010/BL2030 only)
RETURN VALUE
A value corresponding to the voltage on the A/D converter input channel, which will be:
0–4095 for 12-bit A/D conversions
0–1023 for 10-bit A/D conversions
0–255 for 8-bit A/D conversions
SEE ALSO
anaIn, anaInVolts, brdInit, samples/bl2000/adc/AD3.C
Reads the state of an A/D converter input channel.
PARAMETER
channel is the A/D converter input channel (010) to read.
RETURN VALUE
A value corresponding to the voltage on the analog input channel, which will be:
0–4095 for 12-bit A/D conversions (BL2000,BL2020)
0–1023 for 10-bit A/D conversions (BL2010,BL2030).
SEE ALSO
anaInVolts, anaInCalib, _anaIn, brdInit
int anaIn(unsigned int channel);
53 / 95
53 / 95

Table of Contents

Related product manuals