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

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.8.3
7734M–AVR–03/10
ADC Control and Status Register B– ADCSRB
These 3 bits determine the division factor between the system clock frequency and input clock of the
ADC.
The different setting are shown in
Table 18-5.
Bit
Read/Write
Initial Value
• Bit 7 – ADHSM: ADC High Speed Mode
Writing this bit to one enables the ADC High Speed mode. Set this bit if you wish to convert with an ADC
clock frequency higher than 200KHz.
• Bit 6 – ADNCDIS: ADC Noise Canceller Disable
Set this bit to disable automatic ADC start when entering Idle or ADC Noise reduction Modes.
Clear it to enable automatic ADC start when entering Idle or ADC reduction Modes..
The ADNCDIS must be set before entering Idle or ADC Noise reduction Modes if the ADC is running or
Auto triggered to prevent false ADC restart.
• Bit 5 – Reserved
• Bit 4 – ADSSEN: ADC Single Shot Enable on PSC’s synchronization signals
Set this bit to enable single shot mode when auto trigger on PSCRASY & PSC2ASY. In this case a single
conversion will be performed and PSCRASY & PSC2ASY will be blocked until ADCH reading.
Clear it to enable continuous conversion on PSCRASY & PSC2ASY auto triggering.
• Bit 3, 2, 1, 0– ADTS3:ADTS0: ADC Auto Trigger Source Selection Bits
These bits are only necessary in case the ADC works in auto trigger mode. It means if ADATE bit in
ADCSRA register is set.
In accordance with the Table 18-6, these 3 bits select the interrupt event which will generate the trigger of
the start of conversion. The start of conversion will be generated by the rising edge of the selected inter-
rupt flag whether the interrupt is enabled or not.
ADPS2
0
0
0
0
1
1
1
1
7
ADHSM
R/W
0
ADC Prescaler Selection
ADPS1
0
0
1
1
0
0
1
1
6
ADNCDIS
R/W
0
ADPS0
0
1
0
1
0
1
0
1
Table
5
-
-
0
18-5.
4
ADSSEN
R/W
0
Division Factor
2
2
4
8
16
32
64
128
3
ADTS3
R/W
0
2
ADTS2
R/W
0
1
ADTS1
R/W
0
AT90PWM81
0
ADTS0
R/W
0
ADCSRB
219

Related parts for at90pwm81-16se