25.8.10 Compare n Value

Table 25-24. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: COMP
Offset: 0x20 + n*0x02 [n=0..5]
Reset: 0x0000
Property: RW

Bit 15141312111098 
 COMP[15:8] 
Access  
Reset 00000000 
Bit 76543210 
 COMP[7:0] 
Access  
Reset 00000000 

Bits 15:0 – COMP[15:0] 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.