\n

COMP

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :

Registers

CSR


CSR

comparator control and status register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CSR CSR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PU10K PU400K PD10K PD400K CMP1EN SW1 CMP1OUT SPEED CMP2OUT VREFOUTEN WNDWE INSEL OUTSEL FCH3 FCH8 RCH13 CAIE CAIF TSUSP

PU10K : 10 kO pull-up resistor
bits : 0 - 0 (1 bit)
access : read-write

PU400K : 400 kO pull-up resistor
bits : 1 - 1 (1 bit)
access : read-write

PD10K : 10 kO pull-down resistor
bits : 2 - 2 (1 bit)
access : read-write

PD400K : 400 kO pull-down resistor
bits : 3 - 3 (1 bit)
access : read-write

CMP1EN : Comparator 1 enable
bits : 4 - 4 (1 bit)
access : read-write

SW1 : SW1 analog switch enable
bits : 5 - 5 (1 bit)
access : read-write

CMP1OUT : Comparator 1 output
bits : 7 - 7 (1 bit)
access : read-only

SPEED : Comparator 2 speed mode
bits : 12 - 12 (1 bit)
access : read-write

CMP2OUT : Comparator 2 output
bits : 13 - 13 (1 bit)
access : read-only

VREFOUTEN : VREFINT output enable
bits : 16 - 16 (1 bit)
access : read-write

WNDWE : Window mode enable
bits : 17 - 17 (1 bit)
access : read-write

INSEL : Inverted input selection
bits : 18 - 20 (3 bit)
access : read-write

OUTSEL : Comparator 2 output selection
bits : 21 - 23 (3 bit)
access : read-write

FCH3 : Select GPIO port PA3 as fast ADC input channel CH3.
bits : 26 - 26 (1 bit)
access : read-write

FCH8 : Select GPIO port PB0 as fast ADC input channel CH8.
bits : 27 - 27 (1 bit)
access : read-write

RCH13 : Select GPIO port PC3 as re-routed ADC input channel CH13.
bits : 28 - 28 (1 bit)
access : read-write

CAIE : Channel Acquisition Interrupt Enable / Clear
bits : 29 - 29 (1 bit)
access : read-write

CAIF : Channel acquisition interrupt flag
bits : 30 - 30 (1 bit)
access : read-only

TSUSP : Suspend Timer Mode
bits : 31 - 31 (1 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.