31.5.1 Control A

Name: CTRLA
Offset: 0x00
Reset: 0x00
Property: -

Bit 76543210 
 RUNSTDBYOUTEN POWER[1:0]HYSMODE[1:0]ENABLE 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bit 7 – RUNSTDBY Run in Standby Mode

This bit controls whether the AC continues operation in Standby sleep mode.

Since the clock is stopped, interrupts and status flags are not updated when the AC runs in Standby sleep mode.

ValueDescription
0The peripheral is halted in Standby sleep mode
1The peripheral continues operation in Standby sleep mode

Bit 6 – OUTEN Output Enable

This bit controls whether the AC output is enabled.
ValueDescription
0Output to OUT pin disabled
1Output to OUT pin enabled

Bits 4:3 – POWER[1:0] Power Profile

This bit field controls the current through the comparator, allowing the AC to balance power consumption and response time.

For more details on power consumption and response time, refer to the Electrical Characteristics section.

ValueNameDescription
0x0 PROFILE0Power profile 0. The shortest propagation delay tRESP and the highest consumption.
0x1 PROFILE1Power profile 1
0x2 PROFILE2Power profile 2
Other -Reserved

Bits 2:1 – HYSMODE[1:0] Hysteresis Mode Select

This bit field controls the Hysteresis mode for the AC input.

For more details on typical hysteresis levels, refer to the Electrical Characteristics section.

ValueNameDescription
0x0NONENo hysteresis
0x1SMALLSmall hysteresis
0x2MEDIUMMedium hysteresis
0x3LARGELarge hysteresis

Bit 0 – ENABLE Enable AC

This bit controls whether the AC is enabled.
ValueDescription
0The AC is disabled
1The AC is enabled