參數(shù)資料
型號(hào): 101-0576
廠商: Rabbit Semiconductor
文件頁數(shù): 60/106頁
文件大?。?/td> 0K
描述: COMPUTER SNGLBD BL2510 256K FLSH
標(biāo)準(zhǔn)包裝: 25
系列: SBC
模塊/板類型: 單板計(jì)算機(jī)模塊
適用于相關(guān)產(chǎn)品: BL2510
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);
相關(guān)PDF資料
PDF描述
20-101-1055 MODULE RABBITCORE RCM3375
20-101-0434 MODULE RABBITCORE RCM2100
046232103103800 CONN FFC/FPC 3POS 1MM R/A SMD
355-030-521-204 CARDEDGE 30POS DL .156 LOPRO BLK
355-030-521-202 CARDEDGE 30POS DL .156 LOPRO BLK
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0577 功能描述:開發(fā)板和工具包 - 其他處理器 Programmers, Development Systems General Embedded Dev Boards and Kits (MCU, DSP, FPGA, CPLD) - KIT DEV FOR BL2500 COYOTE RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評(píng)估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-0578 功能描述:開發(fā)板和工具包 - 其他處理器 BL25/OEM2500 DEVKIT INTERNTIONAL RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評(píng)估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-0580 功能描述:子卡和OEM板 RabbitLink Card RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
10-105808-02P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105808-02S 制造商:Amphenol Aerospace 功能描述:PLUG