27.5.1 Control A
| Name: | CTRLA |
| Offset: | 0x00 |
| Reset: | 0x00 |
| Property: | Configuration Change Protection |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| SAMPFREQ | ACTIVE[1:0] | SLEEP[1:0] | |||||||
| Access | R | R | R | R/W | R/W | ||||
| Reset | 0 | 0 | 0 | 0 | 0 | ||||
Bit 4 – SAMPFREQ Sample Frequency
This bit controls the BOD sample frequency.
The Reset value is loaded from the SAMPFREQ bit in FUSE.BODCFG.
| Value | Name | Description |
|---|---|---|
| 0 | 128HZ | The sample frequency is 128 Hz |
| 1 | 32HZ | The sample frequency is 32 Hz |
Bits 3:2 – ACTIVE[1:0] Active
When the device is in Active or Idle sleep mode, these bits select the BOD operation mode.
The Reset value is loaded from the ACTIVE bits in FUSE.BODCFG.
| Value | Name | Description |
|---|---|---|
| 0x0 | DISABLE | BOD disabled |
| 0x1 | ENABLE | BOD enabled in Continuous mode |
| 0x2 | SAMPLE | BOD enabled in Sampled mode |
| 0x3 | ENABLEWAIT | BOD enabled in Continuous mode. Execution is halted at wake-up until BOD is running. |
Bits 1:0 – SLEEP[1:0] Sleep
| Value | Name | Description |
|---|---|---|
| 0x0 | DISABLE | BOD disabled |
| 0x1 | ENABLE | BOD enabled in Continuous mode |
| 0x2 | SAMPLE | BOD enabled in Sampled mode |
| 0x3 | - | Reserved |
