DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT90PWM2B-16SU View Datasheet(PDF) - Atmel Corporation

Part Name
Description
Manufacturer
AT90PWM2B-16SU Datasheet PDF : 365 Pages
First Prev 241 242 243 244 245 246 247 248 249 250 Next Last
Figure 21-14. Differential Measurement Range
Output Code
0x1FF
AT90PWM2/3/2B/3B
- VREF/Gain
0x000
0x3FF 0
VREF/Gain
Differential Input
Voltage (Volts)
4317K–AVR–03/2013
0x200
Table 21-2. Correlation Between Input Voltage and Output Codes
VADCn
VADCm + VREF /GAIN
VADCm + 0.999 VREF /GAIN
VADCm + 0.998 VREF /GAIN
...
Read code
0x1FF
0x1FF
0x1FE
...
Corresponding decimal value
511
511
510
...
VADCm + 0.001 VREF /GAIN
VADCm
VADCm - 0.001 VREF /GAIN
...
0x001
1
0x000
0
0x3FF
-1
...
...
VADCm - 0.999 VREF /GAIN
VADCm - VREF /GAIN
0x201
0x200
-511
-512
Example 1:
– ADMUX = 0xED (ADC3 - ADC2, 10x gain, 2.56V reference, left adjusted result)
– Voltage on ADC3 is 300 mV, voltage on ADC2 is 500 mV.
– ADCR = 512 * 10 * (300 - 500) / 2560 = -400 = 0x270
246

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]