A000047 Arduino, A000047 Datasheet - Page 183

MCU, MPU & DSP Development Tools Mega2560

A000047

Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
Datasheets

Specifications of A000047

Processor To Be Evaluated
ATmega2560
Interface Type
USB, I2C, SPI
Dimensions
4 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega2560
19.6.1
19.7
2549M–AVR–09/10
Timer/Counter Timing Diagrams
Compare Output Mode and Waveform Generation
The Waveform Generator uses the COM2x1:0 bits differently in normal, CTC, and PWM modes.
For all modes, setting the COM2x1:0 = 0 tells the Waveform Generator that no action on the
OC2x Register is to be performed on the next compare match. For compare output actions in the
non-PWM modes refer to
page
A change of the COM2x1:0 bits state will have effect at the first compare match after the bits are
written. For non-PWM modes, the action can be forced to have immediate effect by using the
FOC2x strobe bits.
The following figures show the Timer/Counter in synchronous mode, and the timer clock (clk
is therefore shown as a clock enable signal. In asynchronous mode, clk
the Timer/Counter Oscillator clock. The figures include information on when Interrupt Flags are
set.
count sequence close to the MAX value in all modes other than phase correct PWM mode.
Figure 19-8. Timer/Counter Timing Diagram, no Prescaling
Figure 19-9
Figure 19-9. Timer/Counter Timing Diagram, with Prescaler (f
Figure 19-8
TCNTn
TCNTn
(clk
(clk
188, and for phase correct PWM refer to
TOVn
TOVn
clk
clk
clk
clk
I/O
I/O
I/O
I/O
Tn
Tn
/1)
/8)
shows the same timing data, but with the prescaler enabled.
contains timing data for basic Timer/Counter operation. The figure shows the
MAX - 1
MAX - 1
Table 19-5 on page
ATmega640/1280/1281/2560/2561
MAX
MAX
Table 19-7 on page
188. For fast PWM mode, refer to
BOTTOM
BOTTOM
clk_I/O
189.
/8)
I/O
should be replaced by
BOTTOM + 1
BOTTOM + 1
Table 19-6 on
183
T2
)

Related parts for A000047