\n

ACMP

Peripheral Memory Blocks

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

Registers

ACMP_CTL0 (CTL0)

ACMP_CTL1 (CTL1)

ACMP_STATUS (STATUS)

ACMP_POSSEL (POSSEL)


ACMP_CTL0 (CTL0)

Analog Comparator 0 Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
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 NEGSEL

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

Enumeration:

#0 : 0

Disable

#1 : 1

Enable

End of enumeration elements list.

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

Enumeration:

#0 : 0

Disable CMP0 interrupt function

#1 : 1

Enable CMP0 interrupt function

End of enumeration elements list.

NEGSEL : Comparator0 Negative Input Select
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

VBG, Bandgap reference voltage aaa 1.2V

#1 : 1

VMID reference voltage aaa VCCA/2

End of enumeration elements list.


ACMP_CTL1 (CTL1)

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

ACMP_CTL1 ACMP_CTL1 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 NEGSEL

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

Enumeration:

#0 : 0

Disable

#1 : 1

Enable

End of enumeration elements list.

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

Enumeration:

#0 : 0

Disable CMP1interrupt function

#1 : 1

Enable CMP1 interrupt function

End of enumeration elements list.

NEGSEL : Comparator1 Negative Input Select
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

GPIOB[7]

#1 : 1

VBG, Bandgap reference voltage aaa 1.2V

End of enumeration elements list.


ACMP_STATUS (STATUS)

Comparator Status Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
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 ACMPIF0 ACMPIF1 ACMPO0 ACMPO1

ACMPIF0 : Compare 0 Flag This bit is set by hardware whenever the comparator output changes state. This bit will cause a hardware interrupt if enabled. This bit is cleared by writing 1 to itself.
bits : 0 - 0 (1 bit)
access : read-write

ACMPIF1 : Compare 1 Flag This bit is set by hardware whenever the comparator output changes state. This bit will cause a hardware interrupt if enabled. This bit is cleared by writing 1 to itself.
bits : 1 - 1 (1 bit)
access : read-write

ACMPO0 : Comparator0 Output Synchronized to the APB clock to allow reading by software. Cleared when the comparator is disabled (CMP0EN aaa 0).
bits : 2 - 2 (1 bit)
access : read-write

ACMPO1 : Comparator1 Output Synchronized to the APB clock to allow reading by software. Cleared when the comparator is disabled (CMP1EN aaa 0).
bits : 3 - 3 (1 bit)
access : read-write


ACMP_POSSEL (POSSEL)

Comparator Select Register
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ACMP_POSSEL ACMP_POSSEL 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 POSSEL

POSSEL : Comparator0 GPIO Selection GPIOB[POSSEL] is the active analog GPIO input selected to Comparator 0 positive input.
bits : 0 - 2 (3 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.