A000047 Arduino, A000047 Datasheet - Page 131

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
2549M–AVR–09/10
Table 15-7
rect PWM mode.
Table 15-7.
Note:
• Bits 3, 2 – Res: Reserved Bits
These bits are reserved bits and will always read as zero.
• Bits 1:0 – WGM01:0: Waveform Generation Mode
Combined with the WGM02 bit found in the TCCR0B Register, these bits control the counting
sequence of the counter, the source for maximum (TOP) counter value, and what type of wave-
form generation to be used, see
unit are: Normal mode (counter), Clear Timer on Compare Match (CTC) mode, and two types of
Pulse Width Modulation (PWM) modes (see
Table 15-8.
Note:
Mode
COM0B1
0
1
2
3
4
5
6
7
0
0
1
1
1. A special case occurs when OCR0B equals TOP and COM0B1 is set. In this case, the Com-
1. MAX
2. BOTTOM = 0x00
WGM2
shows the COM0B1:0 bit functionality when the WGM02:0 bits are set to phase cor-
pare Match is ignored, but the set or clear is done at TOP. See
page 126
0
0
0
0
1
1
1
1
Compare Output Mode, Phase Correct PWM Mode
Waveform Generation Mode Bit Description
COM0B0
= 0xFF
for more details.
WGM1
0
1
0
1
0
0
1
1
0
0
1
1
WGM0
Table
ATmega640/1280/1281/2560/2561
Clear OC0B on Compare Match when up-counting. Set OC0B on
Set OC0B on Compare Match when up-counting. Clear OC0B on
0
1
0
1
0
1
0
1
15-8. Modes of operation supported by the Timer/Counter
Timer/Counter
Normal port operation, OC0B disconnected.
PWM, Phase
PWM, Phase
Operation
Fast PWM
Fast PWM
Reserved
Reserved
“Modes of Operation” on page
Mode of
Compare Match when down-counting.
Compare Match when down-counting.
Normal
Correct
Correct
CTC
Description
Reserved.
OCRA
OCRA
OCRA
0xFF
0xFF
0xFF
TOP
(1)
“Phase Correct PWM Mode” on
Update of
Immediate
Immediate
BOTTOM
OCRx at
TOP
TOP
TOP
148).
Set on
TOV Flag
BOTTOM
BOTTOM
MAX
MAX
MAX
TOP
(1)(2)
131

Related parts for A000047