36.6.1 Control A

Name: CTRLA
Offset: 0x00
Reset: 0x00000000
Property: Local Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
       ENABLESWRST 
Access R/WW 
Reset 00 

Bit 1 – ENABLE Global Enable

This bit controls whether the AC is enabled.
Note: Each comparator must also be enabled individually by the Enable (ENABLE) bit in the Comparator n Comparator Control A register (COMP[n].COMPCTRLA).
ValueDescription
0 The AC is or being disabled
1 The AC is or being enabled

Bit 0 – SWRST Software Reset

Writing a ‘0’ to this bit has no effect.

Writing a ‘1’ to this bit resets all registers in the AC to their initial state, and the AC will be disabled.

This bit will always read as ‘0’.

Note: Writing a ‘1’ to CTRLA.SWRST will always take precedence, meaning that all other writes in the same write-operation will be discarded.