32.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

Writing this bit to ‘1’ allows the AC to continue operation in Standby Sleep mode. Since the clock is stopped, interrupts and status flags are not updated.
ValueDescription
0In Standby Sleep mode, the peripheral is halted
1In Standby Sleep mode, the peripheral continues operation

Bit 6 – OUTEN Output Pad Enable

Writing this bit to ‘1’ makes the OUT signal available on the pin.

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

This setting controls the current through the comparator, which allows the AC to trade power consumption for the response time. Refer to the Electrical Characteristics section for power consumption and response time.
ValueNameDescription
0x0PROFILE0Power profile 0. Shortest response time and highest consumption.
0x1PROFILE1Power profile 1
0x2PROFILE2Power profile 2
0x3-Reserved

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

Writing to this bit field selects the Hysteresis mode for the AC input. For details about typical values of hysteresis levels, refer to the Electrical Characteristics section.

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

Bit 0 – ENABLE Enable AC

Writing this bit to ‘1’ enables the AC.