參數(shù)資料
型號: 101-0599
廠商: Rabbit Semiconductor
文件頁數(shù): 60/106頁
文件大?。?/td> 0K
描述: COMPUTER SNGLBD BL2500 512K FLSH
標(biāo)準(zhǔn)包裝: 10
系列: SBC
模塊/板類型: 單板計(jì)算機(jī)模塊
適用于相關(guān)產(chǎn)品: BL2500
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-0497 MODULE OP6810 W/O ETH/MEM EXPANS
20-101-0464 COMPUTER SINGLE-BOARD BL2130
SOMOMAP3503-21-1670AGCR SYSTEM ON MODULE LV OMAP3503
101-0600 COMPUTER SNGLBD BL2510 512K FLSH
101-0575 COMPUTER SNGLBD BL2500 256K FLSH
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10105D 制造商:MISCELLANEOUS 功能描述:
10105-DAP 制造商:MICRO DIMENSIONAL 功能描述: 制造商:MISCELLANEOUS 功能描述:
10105N 制造商:NXP Semiconductors 功能描述:
10105NA 制造商:NXP Semiconductors 功能描述:
10106 功能描述:WIRE STRIPPER AWG 10-30 RoHS:否 類別:工具 >> 剝線器和配件 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 類型:- 纜線類型:16~26 AWG 特點(diǎn):-