參數(shù)資料
型號: 20-101-0556
廠商: Rabbit Semiconductor
文件頁數(shù): 47/94頁
文件大?。?/td> 0K
描述: COMPUTER SNGL BD BL2000 IDC HDR
標準包裝: 1
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關(guān)產(chǎn)品: BL2000
User’s Manual
47
4.4.5 A/D Converter Inputs
Calibrates the response of the A/D converter channel as a linear function using the two conversion points
provided. Gain and offset constants are calculated and placed into global table _adcInCalib.
PARAMETERS
channel is the A/D converter input channel (0–10).
value1 is the first A/D converter channel value.
volts1 is the voltage corresponding to the first A/D converter channel value.
value2 is the second A/D converter channel value.
volts2 is the voltage corresponding to the second A/D converter channel value.
RETURN VALUE
0 if successful.
-1 if not able to make calibration constants.
SEE ALSO
anaIn, anaInVolts, brdInit
Reads the voltage of an analog input channel by serially clocking out an 8-bit command to the A/D con-
verter device of the following formats:
TLC2543 commands
D7–D4
Channel 0 - 10
Channel 11 = (Vref+ - Vref-)/2
Channel 12 = Vref-
Channel 13 = Vref+
Channel 14 = software powerdown
D3-D2
Output data length:
01—8 bits
00—12 bits (normally used as default)
11—16 bits (not supported by driver)
D1
Output data format
0—MSB first
1—LSB first (not supported by driver)
D0
Mode of operation
0—Unipolar (normally used as default)
1—Bipolar
void anaInCalib(int channel, int value1,
float volts1, int value2, float volts2);
int _anaIn(unsigned char cmd, char len);
相關(guān)PDF資料
PDF描述
20-101-0654 INTERFACE OP6800 512K FLASH&SRAM
20-101-0788 COMPUTER SGL-BOARD OP6600 W/SRAM
20-101-1068 MODULE RABBITCORE RCM3315
20-101-1131 MODULE RCM4200 RABBITCORE
20-101-1139 RCM4310 RABBITCORE
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0561 功能描述:模塊化系統(tǒng) - SOM RCM3400 Rabbit Core RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0562 功能描述:模塊化系統(tǒng) - SOM RCM3410 RABBITCORE RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0563 功能描述:模塊配件 RCM3400 PROTOTYPING BOARD RoHS:否 制造商:Lantronix 產(chǎn)品: 用于:
20-101-0565 功能描述:模塊配件 BL2100 W/BTM MNT SOCKETS RoHS:否 制造商:Lantronix 產(chǎn)品: 用于:
20-101-0566 功能描述:模塊配件 BL2100 Friction Lock RoHS:否 制造商:Lantronix 產(chǎn)品: 用于: