參數(shù)資料
型號: 101-0577
廠商: Rabbit Semiconductor
文件頁數(shù): 60/106頁
文件大?。?/td> 0K
描述: KIT DEV FOR BL2500 COYOTE
標準包裝: 10
系列: Coyote™
類型: 單板計算機(SBC)
適用于相關產品: BL2510
所含物品: SBC、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
User’s Manual
51
Reads the voltage of a single-ended analog input channel using D/A channel DA0 for comparison to find
a match to the input voltage on channel AD0. This is done using a 10-step successive-approximation
binary search, which nominally takes 86 ms.
Call pwmOutConfig() and pwm_init() before using this function. An exception error will occur if
these functions were not been called previously.
NOTE: DA0 should not be used when AD0 is in use.
PARAMETER
channel
is 0 for channel AD0
RETURN VALUE
A voltage value between 0 and 3.1 V for the analog input channel.
ADOVERFLOW
is returned (defined macro = -4096) on overflow or if the return value is out of range.
SEE ALSO
anaIn, pwmOutConfig, pwm_init
Calibrates the response of the A/D converter channel as a linear function using the two conversion points
provided. Values are calculated and placed into global table _adcCalibS for analog inputs to be stored
later into simulated EEPROM using the function anaInEEWr().
Each channel will have a linear constant and a voltage offset.
PARAMETERS
channel
is 0 for channel AD0
value1
is the first A/D converter value (0–1023), usually a value of 310 that corresponds to 1.0 V
volts1
is the voltage corresponding to the first A/D converter value (0–3.3 V)
value2
is the second A/D converter value (0–1023), usually a value of 930 that corresponds to 3.0 V
volts2
is the voltage corresponding to the second A/D converter value (0–3.3 V)
RETURN VALUE
0 if successful
-1 if not able to make calibration constants
SEE ALSO
anaIn, anaInEERd, anaInEEWr
float anaInVolts(unsigned int channel);
int anaInCalib(int channel, int value1,
float volts1,int value2, float volts2);
相關PDF資料
PDF描述
872083-000 HEAT SHRINK SLEEVE MARKER
SCRH4D28-680 INDUCTOR SMD 68UH 0.35A 100KHZ
101-1156 KIT DEVELOPMENT INT'L RCM4200
101-0533 KIT DEV RABBIT3000/RCM3100
101-1158 KIT DEVELOPMENT INT'L RCM4100
相關代理商/技術參數(shù)
參數(shù)描述
101-0578 功能描述:開發(fā)板和工具包 - 其他處理器 BL25/OEM2500 DEVKIT INTERNTIONAL RoHS:否 制造商:Freescale Semiconductor 產品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-0580 功能描述:子卡和OEM板 RabbitLink Card RoHS:否 制造商:BeagleBoard by CircuitCo 產品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
10-105808-02P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105808-02S 制造商:Amphenol Aerospace 功能描述:PLUG
10-105808-03P 制造商:Amphenol Aerospace 功能描述:PLUG