ATMEGA32-16MJ Atmel, ATMEGA32-16MJ Datasheet - Page 51

IC MCU AVR 32K 5V 16MHZ 44-QFN

ATMEGA32-16MJ

Manufacturer Part Number
ATMEGA32-16MJ
Description
IC MCU AVR 32K 5V 16MHZ 44-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA32-16MJ

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-VQFN Exposed Pad
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Reading the Pin Value
2503Q–AVR–02/11
and a pull-up. If this is not the case, the PUD bit in the SFIOR Register can be set to disable all
pull-ups in all ports.
Switching between input with pull-up and output low generates the same problem. The user
must use either the tri-state ({DDxn, PORTxn} = 0b00) or the output high state ({DDxn, PORTxn}
= 0b11) as an intermediate step.
Table 20
Table 20. Port Pin Configurations
Independent of the setting of Data Direction bit DDxn, the port pin can be read through the
PINxn Register bit. As shown in
tute a synchronizer. This is needed to avoid metastability if the physical pin changes value near
the edge of the internal clock, but it also introduces a delay.
the synchronization when reading an externally applied pin value. The maximum and minimum
propagation delays are denoted t
Figure 24. Synchronization when Reading an Externally Applied Pin Value
Consider the clock period starting shortly after the first falling edge of the system clock. The latch
is closed when the clock is low, and goes transparent when the clock is high, as indicated by the
shaded region of the “SYNC LATCH” signal. The signal value is latched when the system clock
goes low. It is clocked into the PINxn Register at the succeeding positive clock edge. As
indicated by the two arrows t
between ½ and 1½ system clock period depending upon the time of assertion.
DDxn
0
0
0
1
1
INSTRUCTIONS
SYSTEM CLK
SYNC LATCH
summarizes the control signals for the pin value.
PORTxn
0
1
1
0
1
PINxn
r17
(in SFIOR)
PUD
X
0
1
X
X
pd,max
Figure
XXX
Output
Output
pd,max
Input
Input
Input
and t
I/O
23, the PINxn Register bit and the preceding latch consti-
and t
pd,min
Pull-up
Yes
t
pd,min
No
No
No
No
pd, max
, a single signal transition on the pin will be delayed
0x00
respectively.
XXX
Comment
Tri-state (Hi-Z)
Pxn will source current if ext. pulled
low.
Tri-state (Hi-Z)
Output Low (Sink)
Output High (Source)
t
pd, min
Figure 24
in r17, PINx
shows a timing diagram of
ATmega32(L)
0xFF
51

Related parts for ATMEGA32-16MJ