at90ls4433 ATMEL Corporation, at90ls4433 Datasheet - Page 69

no-image

at90ls4433

Manufacturer Part Number
at90ls4433
Description
At90s4433 8-bit Avr Microcontroller With 4k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at90ls4433-4AC
Manufacturer:
ATM
Quantity:
72
Part Number:
at90ls4433-4AI
Manufacturer:
HYNIX
Quantity:
14
Part Number:
at90ls4433-4AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at90ls44334AC
Manufacturer:
ON
Quantity:
3 617
ADC Data Register – ADCL
AND ADCH
1042H–AVR–04/03
• Bit 5 – ADFR: ADC Free Run Select
When this bit is set (one), the ADC operates in Free Run mode. In this mode, the ADC
samples and updates the Data Registers continuously. Clearing this bit (zero) will termi-
nate Free Run mode.
• Bit 4 – ADIF: ADC Interrupt Flag
This bit is set (one) when an ADC conversion completes and the Data Registers are
updated. The ADC Conversion Complete interrupt is executed if the ADIE bit and the I-
bit in SREG are set (one). ADIF is cleared by hardware when executing the correspond-
ing interrupt handling vector. Alternatively, ADIF is cleared by writing a logical “1” to the
flag. Beware that if doing a Read-Modify-Write on ADCSR, a pending interrupt can be
disabled. This also applies if the SBI and CBI instructions are used.
• Bit 3 – ADIE: ADC Interrupt Enable
When this bit is set (one) and the I-bit in SREG is set (one), the ADC Conversion Com-
plete interrupt is activated.
• Bits 2..0 – ADPS2..ADPS0: ADC Prescaler Select Bits
These bits determine the division factor between the XTAL frequency and the input
clock to the ADC.
Table 22. ADC Prescaler Selections
When an ADC conversion is complete, the result is found in these two registers. In Free
Run mode, it is essential that both registers are read and that ADCL is read before
ADCH.
Bit
$05 ($25)
$04 ($26)
Read/Write
Initial Value
ADPS2
0
0
0
0
1
1
1
1
ADC7
15
R
R
7
0
0
ADC6
14
ADPS1
R
R
6
0
0
0
0
1
1
0
0
1
1
ADC5
13
R
R
5
0
0
ADC4
12
R
R
4
0
0
ADPS0
0
1
0
1
0
1
0
1
ADC3
11
R
R
3
0
0
ADC2
10
R
R
2
0
0
AT90S/LS4433
ADC9
ADC1
Division Factor
R
R
9
1
0
0
128
16
32
64
2
2
4
8
ADC8
ADC0
8
0
R
R
0
0
ADCH
ADCL
69

Related parts for at90ls4433