ATMEGA128-16MC Atmel, ATMEGA128-16MC Datasheet - Page 130

no-image

ATMEGA128-16MC

Manufacturer Part Number
ATMEGA128-16MC
Description
IC AVR MCU 128K 16MHZ COM 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA128-16MC

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
64-MLF®, 64-QFN
For Use With
ATAVRISP2 - PROGRAMMER AVR IN SYSTEMATSTK501 - ADAPTER KIT FOR 64PIN AVR MCU
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Timer/Counter
Timing Diagrams
130
ATmega128
The extreme values for the OCRnx Register represent special cases when generating a PWM
waveform output in the phase correct PWM mode. If the OCRnx is set equal to BOTTOM the
output will be continuously low and if set equal to TOP the output will be set to high for non-
inverted PWM mode. For inverted PWM the output will have the opposite logic values.
If OCRnA is used to define the TOP value (WGMn3:0 = 9) and COMnA1:0 = 1, the OCnA Output
will toggle with a 50% duty cycle.
The Timer/Counter is a synchronous design and the timer clock (clk
clock enable signal in the following figures. The figures include information on when interrupt
flags are set, and when the OCRnx Register is updated with the OCRnx buffer value (only for
modes utilizing double buffering).
Figure 55. Timer/Counter Timing Diagram, Setting of OCFnx, no Prescaling
Figure 56
Figure 56. Timer/Counter Timing Diagram, Setting of OCFnx, with Prescaler (f
TCNTn
OCRnx
TCNTn
OCRnx
OCFnx
OCFnx
(clk
(clk
clk
clk
clk
clk
I/O
I/O
I/O
I/O
Tn
Tn
shows the same timing data, but with the prescaler enabled.
/1)
/8)
OCRnx - 1
OCRnx - 1
Figure 55
OCRnx
OCRnx
shows a timing diagram for the setting of OCFnx.
OCRnx Value
OCRnx Value
OCRnx + 1
OCRnx + 1
Tn
) is therefore shown as a
OCRnx + 2
OCRnx + 2
clk_I/O
2467V–AVR–02/11
/8)

Related parts for ATMEGA128-16MC