Compare n Value in COUNT16 mode (CTRLA.MODE=1)

Name:
COMP
Offset:
0x20 + n*0x02 [n=0..1]
Reset:
0x0000
Access:
PAC Write-Protection, Write-Synchronized
Bit15141312111098
COMP[15:8]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit76543210
COMP[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 15:0 – COMP[15:0]: Compare Value

Compare Value

The 16-bit value of COMPn is continuously compared with the 16-bit COUNT value. When a match occurs, the Compare n interrupt flag in the Interrupt Flag Status and Clear register (INTFLAG.CMPn) is set on the next counter cycle.