25.7.9 Compare n Value

Table 25-13. 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
Reset: 0x00000000
Property: RW

Bit 3130292827262524 
 COMP[31:24] 
Access  
Reset 00000000 
Bit 2322212019181716 
 COMP[23:16] 
Access  
Reset 00000000 
Bit 15141312111098 
 COMP[15:8] 
Access  
Reset 00000000 
Bit 76543210 
 COMP[7:0] 
Access  
Reset 00000000 

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

The 32-bit value of COMP0 is continuously compared with the 32-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, and the counter value is cleared if CTRLA.MATCHCLR is '1'.