31.5.1 Control A
| Name: | CTRLA |
| Offset: | 0x00 |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| RUNSTDBY | OUTEN | POWER[1:0] | HYSMODE[1:0] | ENABLE | |||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
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.
| Value | Description |
|---|---|
| 0 | The peripheral is halted in Standby sleep mode |
| 1 | The peripheral continues operation in Standby sleep mode |
Bit 6 – OUTEN Output Enable
| Value | Description |
|---|---|
| 0 | Output to OUT pin disabled |
| 1 | Output 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.
| Value | Name | Description |
|---|---|---|
0x0
| PROFILE0 | Power profile 0. The shortest propagation delay tRESP and the highest consumption. |
0x1
| PROFILE1 | Power profile 1 |
0x2
| PROFILE2 | Power 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.
| Value | Name | Description |
|---|---|---|
| 0x0 | NONE | No hysteresis |
| 0x1 | SMALL | Small hysteresis |
| 0x2 | MEDIUM | Medium hysteresis |
| 0x3 | LARGE | Large hysteresis |
Bit 0 – ENABLE Enable AC
| Value | Description |
|---|---|
| 0 | The AC is disabled |
| 1 | The AC is enabled |
