ATMEGA16-16AU SL602 Atmel, ATMEGA16-16AU SL602 Datasheet - Page 57

no-image

ATMEGA16-16AU SL602

Manufacturer Part Number
ATMEGA16-16AU SL602
Description
Manufacturer
Atmel
Datasheet
Special Function I/O
Register – SFIOR
Alternate Functions of
Port A
2466T–AVR–07/10
• Bit 2 – PUD: Pull-up disable
When this bit is written to one, the pull-ups in the I/O ports are disabled even if the DDxn and
PORTxn Registers are configured to enable the pull-ups ({DDxn, PORTxn} = 0b01). See
figuring the Pin” on page 51
Port A has an alternate function as analog input for the ADC as shown in
A pins are configured as outputs, it is essential that these do not switch when a conversion is in
progress. This might corrupt the result of the conversion.
Table 22. Port A Pins Alternate Functions
Table 23
Figure 26 on page
Table 23. Overriding Signals for Alternate Functions in PA7..PA4
Bit
Read/Write
Initial Value
Signal Name
PUOE
PUOV
DDOE
DDOV
PVOE
PVOV
DIEOE
DIEOV
DI
AIO
Port Pin
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
and
ADTS2
R/W
Table 24
7
0
Alternate Function
ADC7 (ADC input channel 7)
ADC6 (ADC input channel 6)
ADC5 (ADC input channel 5)
ADC4 (ADC input channel 4)
ADC3 (ADC input channel 3)
ADC2 (ADC input channel 2)
ADC1 (ADC input channel 1)
ADC0 (ADC input channel 0)
PA7/ADC7
55.
ADC7 INPUT
ADTS1
R/W
relate the alternate functions of Port A to the overriding signals shown in
6
0
0
0
0
0
0
0
0
0
for more details about this feature.
ADTS0
R/W
5
0
PA6/ADC6
ADC6 INPUT
R
4
0
0
0
0
0
0
0
0
0
ACME
R/W
3
0
PA5/ADC5
ADC5 INPUT
PUD
R/W
2
0
0
0
0
0
0
0
0
0
PSR2
R/W
1
0
ATmega16(L)
PA4/ADC4
PSR10
ADC4 INPUT
R/W
Table
0
0
0
0
0
0
0
0
0
0
22. If some Port
SFIOR
“Con-
57

Related parts for ATMEGA16-16AU SL602