CTRLAControl A
- Address
0x40003400- Reset
0x00- Access
- read/write
- 7–
- 6–
- 5–
- 4–
- 3–
- 2–
- 1ENABLE
- 0SWRST
2 fields
| Field | Bits | What it does |
|---|---|---|
| ENABLE | 1 | Enable |
| SWRST | 0 | Software Reset |
The 19 registers of AC (Analog Comparators), from 0x40003400, with their reset value and every field. The PIC32CM5164LE00064 has 1757 registers in 48 peripherals, one page each.
0x400034000x00| Field | Bits | What it does |
|---|---|---|
| ENABLE | 1 | Enable |
| SWRST | 0 | Software Reset |
0x400034010x00| Field | Bits | What it does |
|---|---|---|
| START3 | 3 | Comparator 3 Start Comparison |
| START2 | 2 | Comparator 2 Start Comparison |
| START1 | 1 | Comparator 1 Start Comparison |
| START0 | 0 | Comparator 0 Start Comparison |
0x400034020x0000| Field | Bits | What it does |
|---|---|---|
| INVEI3 | 15 | Comparator 3 Input Event Invert Enable |
| INVEI2 | 14 | Comparator 2 Input Event Invert Enable |
| INVEI1 | 13 | Comparator 1 Input Event Invert Enable |
| INVEI0 | 12 | Comparator 0 Input Event Invert Enable |
| COMPEI3 | 11 | Comparator 3 Event Input Enable |
| COMPEI2 | 10 | Comparator 2 Event Input Enable |
| COMPEI1 | 9 | Comparator 1 Event Input Enable |
| COMPEI0 | 8 | Comparator 0 Event Input Enable |
| WINEO1 | 5 | Window 1 Event Output Enable |
| WINEO0 | 4 | Window 0 Event Output Enable |
| COMPEO3 | 3 | Comparator 3 Event Output Enable |
| COMPEO2 | 2 | Comparator 2 Event Output Enable |
| COMPEO1 | 1 | Comparator 1 Event Output Enable |
| COMPEO0 | 0 | Comparator 0 Event Output Enable |
0x400034040x00| Field | Bits | What it does |
|---|---|---|
| WIN1 | 5 | Window 1 Interrupt Enable |
| WIN0 | 4 | Window 0 Interrupt Enable |
| COMP3 | 3 | Comparator 3 Interrupt Enable |
| COMP2 | 2 | Comparator 2 Interrupt Enable |
| COMP1 | 1 | Comparator 1 Interrupt Enable |
| COMP0 | 0 | Comparator 0 Interrupt Enable |
0x400034050x00| Field | Bits | What it does |
|---|---|---|
| WIN1 | 5 | Window 1 Interrupt Enable |
| WIN0 | 4 | Window 0 Interrupt Enable |
| COMP3 | 3 | Comparator 3 Interrupt Enable |
| COMP2 | 2 | Comparator 2 Interrupt Enable |
| COMP1 | 1 | Comparator 1 Interrupt Enable |
| COMP0 | 0 | Comparator 0 Interrupt Enable |
0x400034060x00| Field | Bits | What it does |
|---|---|---|
| WIN1 | 5 | Window 1 |
| WIN0 | 4 | Window 0 |
| COMP3 | 3 | Comparator 3 |
| COMP2 | 2 | Comparator 2 |
| COMP1 | 1 | Comparator 1 |
| COMP0 | 0 | Comparator 0 |
0x400034070x00| Field | Bits | What it does |
|---|---|---|
| WSTATE1 | 7:6 | Window 1 Current State
|
| WSTATE0 | 5:4 | Window 0 Current State
|
| STATE3 | 3 | Comparator 3 Current State |
| STATE2 | 2 | Comparator 2 Current State |
| STATE1 | 1 | Comparator 1 Current State |
| STATE0 | 0 | Comparator 0 Current State |
0x400034080x00| Field | Bits | What it does |
|---|---|---|
| READY3 | 3 | Comparator 3 Ready |
| READY2 | 2 | Comparator 2 Ready |
| READY1 | 1 | Comparator 1 Ready |
| READY0 | 0 | Comparator 0 Ready |
0x400034090x00| Field | Bits | What it does |
|---|---|---|
| DBGRUN | 0 | Debug Run |
0x4000340A0x00| Field | Bits | What it does |
|---|---|---|
| WINTSEL1 | 6:5 | Window 1 Interrupt Selection
|
| WEN1 | 4 | Window 1 Mode Enable |
| WINTSEL0 | 2:1 | Window 0 Interrupt Selection
|
| WEN0 | 0 | Window 0 Mode Enable |
0x4000340C0x00| Field | Bits | What it does |
|---|---|---|
| VALUE | 5:0 | Scaler Value |
0x4000340D0x00| Field | Bits | What it does |
|---|---|---|
| VALUE | 5:0 | Scaler Value |
0x4000340E0x00| Field | Bits | What it does |
|---|---|---|
| VALUE | 5:0 | Scaler Value |
0x4000340F0x00| Field | Bits | What it does |
|---|---|---|
| VALUE | 5:0 | Scaler Value |
0x400034100x00000000| Field | Bits | What it does |
|---|---|---|
| OUT | 29:28 | Output
|
| FLEN | 26:24 | Filter Length
|
| HYST | 21:20 | Hysteresis Level
|
| HYSTEN | 19 | Hysteresis Enable |
| SPEED | 17:16 | Speed Selection
|
| SWAP | 15 | Swap Inputs and Invert |
| MUXPOS | 14:12 | Positive Input Mux Selection
|
| MUXNEG | 10:8 | Negative Input Mux Selection
|
| RUNSTDBY | 6 | Run in Standby |
| INTSEL | 4:3 | Interrupt Selection
|
| SINGLE | 2 | Single-Shot Mode |
| ENABLE | 1 | Enable |
0x400034140x00000000| Field | Bits | What it does |
|---|---|---|
| OUT | 29:28 | Output
|
| FLEN | 26:24 | Filter Length
|
| HYST | 21:20 | Hysteresis Level
|
| HYSTEN | 19 | Hysteresis Enable |
| SPEED | 17:16 | Speed Selection
|
| SWAP | 15 | Swap Inputs and Invert |
| MUXPOS | 14:12 | Positive Input Mux Selection
|
| MUXNEG | 10:8 | Negative Input Mux Selection
|
| RUNSTDBY | 6 | Run in Standby |
| INTSEL | 4:3 | Interrupt Selection
|
| SINGLE | 2 | Single-Shot Mode |
| ENABLE | 1 | Enable |
0x400034180x00000000| Field | Bits | What it does |
|---|---|---|
| OUT | 29:28 | Output
|
| FLEN | 26:24 | Filter Length
|
| HYST | 21:20 | Hysteresis Level
|
| HYSTEN | 19 | Hysteresis Enable |
| SPEED | 17:16 | Speed Selection
|
| SWAP | 15 | Swap Inputs and Invert |
| MUXPOS | 14:12 | Positive Input Mux Selection
|
| MUXNEG | 10:8 | Negative Input Mux Selection
|
| RUNSTDBY | 6 | Run in Standby |
| INTSEL | 4:3 | Interrupt Selection
|
| SINGLE | 2 | Single-Shot Mode |
| ENABLE | 1 | Enable |
0x4000341C0x00000000| Field | Bits | What it does |
|---|---|---|
| OUT | 29:28 | Output
|
| FLEN | 26:24 | Filter Length
|
| HYST | 21:20 | Hysteresis Level
|
| HYSTEN | 19 | Hysteresis Enable |
| SPEED | 17:16 | Speed Selection
|
| SWAP | 15 | Swap Inputs and Invert |
| MUXPOS | 14:12 | Positive Input Mux Selection
|
| MUXNEG | 10:8 | Negative Input Mux Selection
|
| RUNSTDBY | 6 | Run in Standby |
| INTSEL | 4:3 | Interrupt Selection
|
| SINGLE | 2 | Single-Shot Mode |
| ENABLE | 1 | Enable |
0x400034200x00000000| Field | Bits | What it does |
|---|---|---|
| COMPCTRL3 | 6 | COMPCTRL 3 Synchronization Busy |
| COMPCTRL2 | 5 | COMPCTRL 2 Synchronization Busy |
| COMPCTRL1 | 4 | COMPCTRL 1 Synchronization Busy |
| COMPCTRL0 | 3 | COMPCTRL 0 Synchronization Busy |
| WINCTRL | 2 | WINCTRL Synchronization Busy |
| ENABLE | 1 | Enable Synchronization Busy |
| SWRST | 0 | Software Reset Synchronization Busy |