A000047 Arduino, A000047 Datasheet - Page 159

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
• Bit 1:0 – WGMn1:0: Waveform Generation Mode
Combined with the WGMn3:2 bits found in the TCCRnB 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
Timer/Counter unit are: Normal mode (counter), Clear Timer on Compare match (CTC) mode,
and three types of Pulse Width Modulation (PWM) modes. For more information on the different
modes, see
Table 16-3.
Table 16-4
PWM mode.
Table 16-4.
Note:
COMnA1
COMnB1
COMnC1
COMnA1
COMnB1
COMnC1
0
0
1
1
0
0
1
1
A special case occurs when OCRnA/OCRnB/OCRnC equals TOP and
COMnA1/COMnB1/COMnC1 is set. In this case the compare match is ignored, but the set or clear
is done at BOTTOM.
shows the COMnx1:0 bit functionality when the WGMn3:0 bits are set to the fast
“Modes of Operation” on page
COMnA0
COMnB0
COMnC0
COMnA0
COMnB0
COMnC0
Compare Output Mode, non-PWM
Compare Output Mode, Fast PWM
0
1
0
1
0
1
0
1
disconnected (normal port operation). For all other WGM1 settings, normal
WGM13:0 = 14 or 15: Toggle OC1A on Compare Match, OC1B and OC1C
See “Fast PWM Mode” on page 150.
Clear OCnA/OCnB/OCnC on compare match, set OCnA/OCnB/OCnC at
Set OCnA/OCnB/OCnC on compare match, clear OCnA/OCnB/OCnC at
Clear OCnA/OCnB/OCnC on compare match (set output to low level).
Set OCnA/OCnB/OCnC on compare match (set output to high level).
ATmega640/1280/1281/2560/2561
Table 16-2 on page
Normal port operation, OCnA/OCnB/OCnC disconnected.
Normal port operation, OCnA/OCnB/OCnC disconnected.
port operation, OC1A/OC1B/OC1C disconnected.
Toggle OCnA/OCnB/OCnC on compare match.
148.
BOTTOM (non-inverting mode).
BOTTOM (inverting mode).
148. Modes of operation supported by the
Description
Description
for more details.
159

Related parts for A000047