A000047 Arduino, A000047 Datasheet - Page 165

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
16.11.27 OCR5BH and OCR5BL – Output Compare Register 5 B
16.11.28 OCR5CH and OCR5CL –Output Compare Register 5 C
16.11.29 ICR1H and ICR1L – Input Capture Register 1
16.11.30 ICR3H and ICR3L – Input Capture Register 3
16.11.31 ICR4H and ICR4L – Input Capture Register 4
16.11.32 ICR5H and ICR5L – Input Capture Register 5
2549M–AVR–09/10
The Output Compare Registers contain a 16-bit value that is continuously compared with the
counter value (TCNTn). A match can be used to generate an Output Compare interrupt, or to
generate a waveform output on the OCnx pin.
The Output Compare Registers are 16-bit in size. To ensure that both the high and low bytes are
written simultaneously when the CPU writes to these registers, the access is performed using an
8-bit temporary High Byte Register (TEMP). This temporary register is shared by all the other
16-bit registers.
Bit
(0x12B)
(0x12A)
Read/Write
Initial Value
Bit
(0x12D)
(0x12C)
Read/Write
Initial Value
Bit
(0x87)
(0x86)
Read/Write
Initial Value
Bit
(0x97)
(0x96)
Read/Write
Initial Value
Bit
(0xA7)
(0xA6)
Read/Write
Initial Value
Bit
(0x127)
(0x126)
Read/Write
Initial Value
See “Accessing 16-bit Registers” on page 138.
R/W
R/W
R/W
R/W
R/W
R/W
7
0
7
0
7
0
7
0
7
0
7
0
R/W
R/W
R/W
R/W
R/W
R/W
6
0
6
0
6
0
6
0
6
0
6
0
ATmega640/1280/1281/2560/2561
R/W
R/W
R/W
R/W
R/W
R/W
5
0
5
0
5
0
5
0
5
0
5
0
R/W
R/W
R/W
R/W
R/W
R/W
4
0
4
0
4
0
4
0
4
0
4
0
OCR5B[15:8]
OCR5C[15:8]
OCR5B[7:0]
OCR5C[7:0]
ICR1[15:8]
ICR3[15:8]
ICR4[15:8]
ICR5[15:8]
ICR1[7:0]
ICR3[7:0]
ICR4[7:0]
ICR5[7:0]
R/W
R/W
R/W
R/W
R/W
R/W
3
0
3
0
3
0
3
0
3
0
3
0
R/W
R/W
R/W
R/W
R/W
R/W
2
0
2
0
2
0
2
0
2
0
2
0
R/W
R/W
R/W
R/W
R/W
R/W
1
0
1
0
1
0
1
0
1
0
1
0
R/W
R/W
R/W
R/W
R/W
R/W
0
0
0
0
0
0
0
0
0
0
0
0
OCR5BH
OCR5CH
OCR5BL
OCR5CL
ICR1H
ICR3H
ICR4H
ICR5H
ICR1L
ICR3L
ICR4L
ICR5L
165

Related parts for A000047