at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 208

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
18.5
208
Changing Channel or Reference Selection
AT90PWM81
Figure 18-6.
Figure 18-7.
Table 18-1.
The MUXn and REFS1:0 bits in the ADMUX Register are single buffered through a temporary register to
which the CPU has random access. This ensures that the channels and reference selection only takes place
at a safe point during the conversion. The channel and reference selection is continuously updated until a
conversion is started. Once the conversion starts, the channel and reference selection is locked to ensure a
sufficient sampling time for the ADC. Continuous updating resumes in the last ADC clock cycle before
the conversion completes (ADIF in ADCSRA is set). Note that the conversion starts on the following ris-
ing ADC clock edge after ADSC is written. The user is thus advised not to write new channel or reference
selection values to ADMUX until one ADC clock cycle after ADSC is written.
Condition
Sample & Hold
(Cycles from Start of Conversion)
Conversion Time
(Cycles)
Cycle Number
ADC Clock
Trigger
Source
ADATE
ADIF
ADCH
ADCL
ADC Timing Diagram, Auto Triggered Conversion
ADC Timing Diagram, Free Running Conversion
ADC Conversion Time
Prescaler
Reset
MUX and REFS
Update
1
2
3
Sample &
Hold
4
5
First Conversion
6
13.5
7
25
One Conversion
8
Cycle Number
ADC Clock
ADSC
ADIF
ADCH
ADCL
Conversion
13
Conversion
Complete
Complete
One Conversion
14
14
Conversion, Single
15
15
Normal
Ended
15.5
16
16
3.5
Next Conversion
1
Sign and MSB of Result
Sign and MSB of Result
LSB of Result
LSB of Result
2
MUX and REFS
Update
Next Conversion
1
Prescaler
Reset
3
Sample & Hold
2
4
Auto Triggered
Conversion
7734M–AVR–03/10
16
4

Related parts for at90pwm81-16se