Datasheet

Table Of Contents
160
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
2549Q–AVR–02/2014
17.11.24 OCR4BH and OCR4BL – Output Compare Register 4 B
17.11.25 OCR4CH and OCR4CL –Output Compare Register 4 C
17.11.26 OCR5AH and OCR5AL – Output Compare Register 5 A
17.11.27 OCR5BH and OCR5BL – Output Compare Register 5 B
17.11.28 OCR5CH and OCR5CL –Output Compare Register 5 C
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 simultane-
ously 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. See “Accessing 16-bit Registers” on
page 135.
17.11.29 ICR1H and ICR1L – Input Capture Register 1
Bit 76543210
(0xAA) OCR4B[15:8] OCR4BH
(0xAB) OCR4B[7:0] OCR4BL
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
(0xAD) OCR4C[15:8] OCR4CH
(0xAC) OCR4C[7:0] OCR4CL
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
(0x129) OCR5A[15:8] OCR5AH
(0x128) OCR5A[7:0] OCR5AL
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
(0x12B) OCR5B[15:8] OCR5BH
(0x12A) OCR5B[7:0] OCR5BL
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
(0x12D) OCR5C[15:8] OCR5CH
(0x12C) OCR5C[7:0] OCR5CL
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
(0x87) ICR1[15:8] ICR1H
(0x86) ICR1[7:0] ICR1L
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000