參數(shù)資料
型號(hào): 101-0558
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 54/94頁(yè)
文件大小: 0K
描述: COMPUTER SNG BD BL1800 512K SRAM
標(biāo)準(zhǔn)包裝: 10
系列: SBC
模塊/板類型: 單板計(jì)算機(jī)模塊
適用于相關(guān)產(chǎn)品: BL1800
54
Jackrabbit (BL1800)
4.4.1.4 Analog Input
The analog input channel on the Jackrabbit (AD0 on header J5) works by varying analog
output channel DA0 until its voltage matches the input voltage on AD0. DA0 obviously
cannot be used while an input voltage is being measured, although channel DA0 is still
available. The value returned corresponds to the value that DA0 required to match the
input voltage (you would call anaOut(0,value) for DA0 to provide that same voltage).
If the value returned is negative, then the function considers the value suspect for some
reason (most likely a failure of the DA0 voltage to settle quickly). The value can be taken
as is, or another measurement can be done.
Analog input for the Jackrabbit analog input channel (AD0).
jrioInit must be called first.
channel is the input channel number (0 only on the Jackrabbit).
An integer between 0 and 1024 will be returned in value, corresponding to a voltage
obtained if output channel DA0 was set to that value. If a value is found, but the voltage
has not appeared to fully settle, the value will be negative (but equal in magnitude to the
found voltage) to allow remeasurement if desired.
NOTE: See sample program JRIOTEST.C for an example of the use of anaIn.
Two versions of the analog input function are available: the standard function, listed
above, that does not return until the measurement has been made, and a cofunction version
that can be called from within a costatement. This cofunction version allows other tasks to
be performed while the voltage match is being made. The voltage measurement will take
ten calls of the cofunction version to make a measurement.
The parameters are identical to those described above for anaIn.
NOTE: See sample program JRIO_COF.C for an example of the use of cof_anaIn.
void anaIn(int channel, int *value);
void cof_anaIn(int channel, int *value);
m
Vmax
Vmin
PWM_MAX0
PWM_MIN
---------------------------------------------------------------------
=
voltage
m
value
×
b
+
=
相關(guān)PDF資料
PDF描述
396-036-526-204 CARD EDGE 36POS DL .125X.250 BLK
396-036-526-202 CARD EDGE 36POS DL .125X.250 BLK
101-0411 INTERFACE 12KEYDISP ETHNT OP6700
AT24C02A-10PI-2.7 IC EEPROM 2KBIT 400KHZ 8DIP
AT24C02A-10PI-1.8 IC EEPROM 2KBIT 400KHZ 8DIP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10105584 制造商:Amphenol Corporation 功能描述:10-341374-222 - Bulk
101055OO 制造商:TE Connectivity 功能描述:
101056084S 制造商:Amphenol Aerospace 功能描述:CONNECTOR
101-0561 功能描述:模塊化系統(tǒng) - SOM RCM3400 RABBITCORE RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲(chǔ)容量:8 MB, 16 MB 存儲(chǔ)類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
10-105610-02S 制造商:Amphenol Aerospace 功能描述:PLUG