\n
address_offset : 0x0 Bytes (0x0)
size : 0x40 byte (0x0)
mem_usage : registers
protection : not protected
Control A
address_offset : 0x0 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SWRST : Software Reset
bits : 0 - 0 (1 bit)
access : write-only
ENABLE : Enable
bits : 1 - 1 (1 bit)
RUNSTDBY : Run in Standby
bits : 2 - 2 (1 bit)
LPMUX : Low-Power Mux
bits : 7 - 7 (1 bit)
Control B
address_offset : 0x1 Bytes (0x0)
size : 8 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
START0 : Comparator 0 Start Comparison
bits : 0 - 0 (1 bit)
START1 : Comparator 1 Start Comparison
bits : 1 - 1 (1 bit)
Event Control
address_offset : 0x2 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
COMPEO0 : Comparator 0 Event Output Enable
bits : 0 - 0 (1 bit)
COMPEO1 : Comparator 1 Event Output Enable
bits : 1 - 1 (1 bit)
WINEO0 : Window 0 Event Output Enable
bits : 4 - 4 (1 bit)
COMPEI0 : Comparator 0 Event Input
bits : 8 - 8 (1 bit)
COMPEI1 : Comparator 1 Event Input
bits : 9 - 9 (1 bit)
Comparator Control n
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ENABLE : Enable
bits : 0 - 0 (1 bit)
SINGLE : Single-Shot Mode
bits : 1 - 1 (1 bit)
SPEED : Speed Selection
bits : 2 - 3 (2 bit)
Enumeration: SPEEDSelect
0x0 : LOW
Low speed
0x1 : HIGH
High speed
End of enumeration elements list.
INTSEL : Interrupt Selection
bits : 5 - 6 (2 bit)
Enumeration: INTSELSelect
0x0 : TOGGLE
Interrupt on comparator output toggle
0x1 : RISING
Interrupt on comparator output rising
0x2 : FALLING
Interrupt on comparator output falling
0x3 : EOC
Interrupt on end of comparison (single-shot mode only)
End of enumeration elements list.
MUXNEG : Negative Input Mux Selection
bits : 8 - 10 (3 bit)
Enumeration: MUXNEGSelect
0x0 : PIN0
I/O pin 0
0x1 : PIN1
I/O pin 1
0x2 : PIN2
I/O pin 2
0x3 : PIN3
I/O pin 3
0x4 : GND
Ground
0x5 : VSCALE
VDD scaler
0x6 : BANDGAP
Internal bandgap voltage
0x7 : DAC
DAC output
End of enumeration elements list.
MUXPOS : Positive Input Mux Selection
bits : 12 - 13 (2 bit)
Enumeration: MUXPOSSelect
0x0 : PIN0
I/O pin 0
0x1 : PIN1
I/O pin 1
0x2 : PIN2
I/O pin 2
0x3 : PIN3
I/O pin 3
End of enumeration elements list.
SWAP : Swap Inputs and Invert
bits : 15 - 15 (1 bit)
OUT : Output
bits : 16 - 17 (2 bit)
Enumeration: OUTSelect
0x0 : OFF
The output of COMPn is not routed to the COMPn I/O port
0x1 : ASYNC
The asynchronous output of COMPn is routed to the COMPn I/O port
0x2 : SYNC
The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port
End of enumeration elements list.
HYST : Hysteresis Enable
bits : 19 - 19 (1 bit)
FLEN : Filter Length
bits : 24 - 26 (3 bit)
Enumeration: FLENSelect
0x0 : OFF
No filtering
0x1 : MAJ3
3-bit majority function (2 of 3)
0x2 : MAJ5
5-bit majority function (3 of 5)
End of enumeration elements list.
Comparator Control n
address_offset : 0x34 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ENABLE : Enable
bits : 0 - 0 (1 bit)
SINGLE : Single-Shot Mode
bits : 1 - 1 (1 bit)
SPEED : Speed Selection
bits : 2 - 3 (2 bit)
Enumeration: SPEEDSelect
0x0 : LOW
Low speed
0x1 : HIGH
High speed
End of enumeration elements list.
INTSEL : Interrupt Selection
bits : 5 - 6 (2 bit)
Enumeration: INTSELSelect
0x0 : TOGGLE
Interrupt on comparator output toggle
0x1 : RISING
Interrupt on comparator output rising
0x2 : FALLING
Interrupt on comparator output falling
0x3 : EOC
Interrupt on end of comparison (single-shot mode only)
End of enumeration elements list.
MUXNEG : Negative Input Mux Selection
bits : 8 - 10 (3 bit)
Enumeration: MUXNEGSelect
0x0 : PIN0
I/O pin 0
0x1 : PIN1
I/O pin 1
0x2 : PIN2
I/O pin 2
0x3 : PIN3
I/O pin 3
0x4 : GND
Ground
0x5 : VSCALE
VDD scaler
0x6 : BANDGAP
Internal bandgap voltage
0x7 : DAC
DAC output
End of enumeration elements list.
MUXPOS : Positive Input Mux Selection
bits : 12 - 13 (2 bit)
Enumeration: MUXPOSSelect
0x0 : PIN0
I/O pin 0
0x1 : PIN1
I/O pin 1
0x2 : PIN2
I/O pin 2
0x3 : PIN3
I/O pin 3
End of enumeration elements list.
SWAP : Swap Inputs and Invert
bits : 15 - 15 (1 bit)
OUT : Output
bits : 16 - 17 (2 bit)
Enumeration: OUTSelect
0x0 : OFF
The output of COMPn is not routed to the COMPn I/O port
0x1 : ASYNC
The asynchronous output of COMPn is routed to the COMPn I/O port
0x2 : SYNC
The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port
End of enumeration elements list.
HYST : Hysteresis Enable
bits : 19 - 19 (1 bit)
FLEN : Filter Length
bits : 24 - 26 (3 bit)
Enumeration: FLENSelect
0x0 : OFF
No filtering
0x1 : MAJ3
3-bit majority function (2 of 3)
0x2 : MAJ5
5-bit majority function (3 of 5)
End of enumeration elements list.
Interrupt Enable Clear
address_offset : 0x4 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
COMP0 : Comparator 0 Interrupt Enable
bits : 0 - 0 (1 bit)
COMP1 : Comparator 1 Interrupt Enable
bits : 1 - 1 (1 bit)
WIN0 : Window 0 Interrupt Enable
bits : 4 - 4 (1 bit)
Scaler n
address_offset : 0x40 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Scaler Value
bits : 0 - 5 (6 bit)
Interrupt Enable Set
address_offset : 0x5 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
COMP0 : Comparator 0 Interrupt Enable
bits : 0 - 0 (1 bit)
COMP1 : Comparator 1 Interrupt Enable
bits : 1 - 1 (1 bit)
WIN0 : Window 0 Interrupt Enable
bits : 4 - 4 (1 bit)
Interrupt Flag Status and Clear
address_offset : 0x6 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
COMP0 : Comparator 0
bits : 0 - 0 (1 bit)
COMP1 : Comparator 1
bits : 1 - 1 (1 bit)
WIN0 : Window 0
bits : 4 - 4 (1 bit)
Scaler n
address_offset : 0x61 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Scaler Value
bits : 0 - 5 (6 bit)
Status A
address_offset : 0x8 Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
STATE0 : Comparator 0 Current State
bits : 0 - 0 (1 bit)
STATE1 : Comparator 1 Current State
bits : 1 - 1 (1 bit)
WSTATE0 : Window 0 Current State
bits : 4 - 5 (2 bit)
Enumeration: WSTATE0Select
0x0 : ABOVE
Signal is above window
0x1 : INSIDE
Signal is inside window
0x2 : BELOW
Signal is below window
End of enumeration elements list.
Status B
address_offset : 0x9 Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
READY0 : Comparator 0 Ready
bits : 0 - 0 (1 bit)
access : read-only
READY1 : Comparator 1 Ready
bits : 1 - 1 (1 bit)
access : read-only
SYNCBUSY : Synchronization Busy
bits : 7 - 7 (1 bit)
Status C
address_offset : 0xA Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
STATE0 : Comparator 0 Current State
bits : 0 - 0 (1 bit)
STATE1 : Comparator 1 Current State
bits : 1 - 1 (1 bit)
WSTATE0 : Window 0 Current State
bits : 4 - 5 (2 bit)
Enumeration: WSTATE0Select
0x0 : ABOVE
Signal is above window
0x1 : INSIDE
Signal is inside window
0x2 : BELOW
Signal is below window
End of enumeration elements list.
Window Control
address_offset : 0xC Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WEN0 : Window 0 Mode Enable
bits : 0 - 0 (1 bit)
WINTSEL0 : Window 0 Interrupt Selection
bits : 1 - 2 (2 bit)
Enumeration: WINTSEL0Select
0x0 : ABOVE
Interrupt on signal above window
0x1 : INSIDE
Interrupt on signal inside window
0x2 : BELOW
Interrupt on signal below window
0x3 : OUTSIDE
Interrupt on signal outside window
End of enumeration elements list.
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.