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
0 In Standby sleep mode, the peripheral is halted
1 In 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.
Value Name Description
0x0 PROFILE0 Power profile 0. Shortest response time and highest consumption.
0x1 PROFILE1 Power profile 1
0x2 PROFILE2 Power profile 2
0x3 PROFILE3 Power profile 3

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
0x0 NONE No hysteresis
0x1 SMALL Small hysteresis
0x2 MEDIUM Medium hysteresis
0x3 LARGE Large hysteresis

Bit 0 – ENABLE Enable AC

Writing this bit to ‘1’ enables the AC.