Output Comparte Register A 0 Low and High byte

The OCR0AL and OCR0AH register pair represents the 16-bit value, OCR0A.The low byte [7:0] (suffix L) is accessible at the original offset. The high byte [15:8] (suffix H) can be accessed at offset + 0x01. For more details on reading and writing 16-bit registers, refer to Accessing 16-bit Registers.

Name:
OCR0AL and OCR0AH
Offset:
0x26
Reset:
0x00
Access:
-
Bit15141312111098
OCR0A[15:8]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit76543210
OCR0A[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 15:0 – OCR0A[15:0]: Output Compare 0 A

Output Compare 0 A

OCR0AH and OCR0AL are combined into OCR0A.

The Output Compare Registers contain a 16-bit value that is continuously compared with the counter value (TCNT0). A match can be used to generate an Output Compare interrupt, or to generate a waveform output on the OC0x pin.