Control A
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RUNSTDBY | OUTEN | INTMODE[1:0] | HYSMODE[1:0] | ENABLE | |||
AccessR/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset0 | 0 | 0 | 0 | 0 | 0 | 0 |
Run in Standby Mode
Value | Description |
---|---|
0 | In Standby Sleep mode, the peripheral is halted |
1 | In Standby Sleep mode, the peripheral continues operation |
Analog Comparator Output Pad Enable
Interrupt Modes
Writing to these bits selects what edges of the AC output triggers an interrupt request.
Value | Name | Description |
---|---|---|
0x0 | BOTHEDGE | Both negative and positive edge |
0x1 | - | Reserved |
0x2 | NEGEDGE | Negative edge |
0x3 | POSEDGE | Positive edge |
Hysteresis Mode Select
Writing these bits selects the Hysteresis mode for the AC input.
Value | Name | Description |
---|---|---|
0x0 | OFF | OFF |
0x1 | 10 | ±10 mV |
0x2 | 25 | ±25 mV |
0x3 | 50 | ±50 mV |
Enable AC