\n

ACMP0

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected

Registers

ACMP_CTL0

ACMP_STATUS

ACMP_VREF


ACMP_CTL0

Analog Comparator 0 Control Register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ACMP_CTL0 ACMP_CTL0 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 ACMPEN ACMPIE HYSEN NEGSEL WKEN

ACMPEN : Comparator Enable Bit
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Comparator 0 Disabled

#1 : 1

Comparator 0 Enabled

End of enumeration elements list.

ACMPIE : Comparator Interrupt Enable Bit
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Comparator 0 interrupt Disabled

#1 : 1

Comparator 0 interrupt Enabled. If WKEN (ACMP_CTL0[31]) is set to 1, the wake-up interrupt function will be enabled as well

End of enumeration elements list.

HYSEN : Comparator Hysteresis Enable Bit
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Comparator 0 hysteresis Disabled

#1 : 1

Comparator 0 hysteresis Enabled

End of enumeration elements list.

NEGSEL : Comparator Negative Input Selection
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#00 : 0

ACMP0_N pin

#01 : 1

Internal comparator reference voltage (CRV)

#10 : 2

Internal reference voltage (Int_VREF)

#11 : 3

AVSS pin

End of enumeration elements list.

WKEN : Power-down Wake-up Enable Bit
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

Wake-up function Disabled

#1 : 1

Wake-up function Enabled

End of enumeration elements list.


ACMP_STATUS

Analog Comparator Status Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ACMP_STATUS ACMP_STATUS 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 ACMPIF ACMPO

ACMPIF : ComparatorInterrupt Flag This bit is set by hardware whenever the comparator 0 output changes state. This will generate an interrupt if ACMPIE (ACMP_CTL0[1]) is set to 1 Note: Write 1 to clear this bit to 0.
bits : 0 - 0 (1 bit)
access : read-write

ACMPO : ComparatorOutput\nSynchronized to the PCLK to allow reading by software. Cleared when the comparator 0 is disabled, i.e. ACMPEN (ACMP_CTL0[0]) is cleared to 0.\nNote: This bit is read only.
bits : 1 - 1 (1 bit)
access : read-write


ACMP_VREF

Analog Comparator Reference Voltage Control Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ACMP_VREF ACMP_VREF 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 CRVCTL CRVEN CRVSSEL

CRVCTL : Comparator Reference Voltage Setting
bits : 0 - 3 (4 bit)
access : read-write

CRVEN : CRV Enable Bit
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

CRV Disabled

#1 : 1

CRV Enabled

End of enumeration elements list.

CRVSSEL : CRV Source Voltage Selection
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

VDDA is selected as CRV source voltage

#1 : 1

The reference voltage defined by SYS_VREFCTL register is selected as CRV source voltage

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 EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.