Capture/Compare

The TCBn.CCMPL and TCBn.CCMPH register pair represents the 16-bit value TCBn.CCMP. 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.

This register has different functions depending on the mode of operation:
Name:
CCMP
Offset:
0x0C
Reset:
0x00
Access:
-
Bit15141312111098
CCMP[15:8]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit76543210
CCMP[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 15:8 – CCMP[15:8][7:0]: Capture/Compare Value High Byte

Capture/Compare Value High Byte

These bits hold the MSB of the 16-bit compare, capture, and top value.

Bits 7:0 – CCMP[7:0][7:0]: Capture/Compare Value Low Byte

Capture/Compare Value Low Byte

These bits hold the LSB of the 16-bit compare, capture, and top value.