A000047 Arduino, A000047 Datasheet - Page 148
A000047
Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
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
- Current page: 148 of 444
- Download datasheet (10Mb)
16.9
Table 16-2.
2549M–AVR–09/10
Mode
10
11
12
13
14
15
0
1
2
3
4
5
6
7
8
9
Modes of Operation
WGMn3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Waveform Generation Mode Bit Description
WGMn2
(CTCn)
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
non-PWM modes refer to
page
page
A change of the COMnx1: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
FOCnx strobe bits.
The mode of operation, that is, the behavior of the Timer/Counter and the Output Compare pins,
is defined by the combination of the Waveform Generation mode (WGMn3:0) and Compare Out-
put mode (COMnx1:0) bits. The Compare Output mode bits do not affect the counting sequence,
while the Waveform Generation mode bits do. The COMnx1:0 bits control whether the PWM out-
put generated should be inverted or not (inverted or non-inverted PWM). For non-PWM modes
the COMnx1:0 bits control whether the output should be set, cleared or toggle at a compare
match.
Note:
For detailed timing information refer to
159, and for phase correct and phase and frequency correct PWM refer to
160.
(PWMn1)
WGMn1
See “Compare Match Output Unit” on page 147.
1. The CTCn and PWMn1:0 bit definition names are obsolete. Use the
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
However, the functionality and location of these bits are compatible with previous versions of
the timer.
(PWMn0)
WGMn0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Table 16-3 on page
PWM, Phase and Frequency
PWM, Phase Correct, 10-bit
PWM,Phase and Frequency
PWM, Phase Correct, 8-bit
PWM, Phase Correct, 9-bit
(1)
ATmega640/1280/1281/2560/2561
PWM, Phase Correct
PWM, Phase Correct
Mode of Operation
Fast PWM, 10-bit
Fast PWM, 8-bit
Fast PWM, 9-bit
Timer/Counter
(Reserved)
Fast PWM
Fast PWM
“Timer/Counter Timing Diagrams” on page
Normal
Correct
Correct
CTC
CTC
159. For fast PWM mode refer to
0xFFFF
OCRnA
OCRnA
0x00FF
0x01FF
0x03FF
0x00FF
0x01FF
0x03FF
OCRnA
OCRnA
ICRn
ICRn
ICRn
ICRn
TOP
–
Update of
OCRn
Immediate
Immediate
Immediate
BOTTOM
BOTTOM
BOTTOM
BOTTOM
BOTTOM
BOTTOM
BOTTOM
WGM
TOP
TOP
TOP
TOP
TOP
–
x
at
n2:0 definitions.
Table 16-4 on
Table 16-5 on
156.
TOVn Flag
BOTTOM
BOTTOM
BOTTOM
BOTTOM
BOTTOM
BOTTOM
BOTTOM
Set on
MAX
MAX
MAX
TOP
TOP
TOP
TOP
TOP
–
148
Related parts for A000047
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO UNO PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO SHIELD PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Development Boards & Kits - AVR ARDUINO STARTER KIT W/ UNO REV3
Manufacturer:
Arduino
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS PROTO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS WITH SD
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Development Software Getting started w/Arduino
Manufacturer:
Arduino
Part Number:
Description:
Ethernet Modules & Development Tools Ethernet Shield for Arduino
Manufacturer:
Arduino
Part Number:
Description:
MCU, MPU & DSP Development Tools LilyPad Arduino Main Board
Manufacturer:
Arduino
Part Number:
Description:
ARDUINO NANO Board
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Ethernet Modules & Development Tools ETHERNET SHEILD PoE FOR ARDUINO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
ATMEGA328 MCU IC W/ Arduino UNO Bootloader
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Memory Cards MICRO SD CARD 1GB WITH SD ADAPTER
Manufacturer:
Arduino