\n

ACMP

Peripheral Memory Blocks

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

Registers

ACMP_CR0

ACMP_CR1

ACMP_SR01


ACMP_CR0

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

ACMP_CR0 ACMP_CR0 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 ACMPOINV

ACMPEN : Analog Comparator 0 Enable Control\nNote: Analog comparator output needs to wait 2 us stable time after ACMPEN is set.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog Comparator 0 Disabled

#1 : 1

Analog Comparator 0 Enabled

End of enumeration elements list.

ACMPIE : Analog Comparator 0 Interrupt Enable Control\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt function Disabled

#1 : 1

Interrupt function Enabled

End of enumeration elements list.

HYSEN : Analog Comparator 0 Hysteresis Enable Control\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Hysteresis function Disabled

#1 : 1

Hysteresis function Enabled

End of enumeration elements list.

NEGSEL : Analog Comparator 0 Negative Input Selection\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

The source of the negative comparator input is from ACMP0_N pin

#1 : 1

The internal band-gap voltage is selected as the source of negative comparator input

End of enumeration elements list.

ACMPOINV : Analog Comparator 0 Output Inverse Enable Control \n
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator output inverse function Disabled

#1 : 1

The comparator output inverse function Enabled

End of enumeration elements list.


ACMP_CR1

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

ACMP_CR1 ACMP_CR1 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 ACMPOINV

ACMPEN : Analog Comparator 1 Enable Control\nNote: Analog comparator output needs to wait 2 us stable time after ACMPEN is set.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator 1 Disabled

#1 : 1

Analog comparator 1 Enabled

End of enumeration elements list.

ACMPIE : Analog Comparator 1 Interrupt Enable Control\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt function Disabled

#1 : 1

Interrupt function Enabled

End of enumeration elements list.

HYSEN : Analog Comparator 1 Hysteresis Enable Control\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Hysteresis function Disabled

#1 : 1

Hysteresis function Enabled

End of enumeration elements list.

NEGSEL : Analog Comparator 1 Negative Input Selection\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

The source of the negative comparator input is from ACMP1_N pin

#1 : 1

The internal band-gap voltage is selected as the source of negative comparator input

End of enumeration elements list.

ACMPOINV : Analog Comparator 1 Output Inverse Enable Control \n
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator output inverse function Disabled

#1 : 1

The comparator output inverse function Enabled

End of enumeration elements list.


ACMP_SR01

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

ACMP_SR01 ACMP_SR01 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 ACMPF0 ACMPF1 ACMPO0 ACMPO1

ACMPF0 : Analog Comparator 0 Flag\nThis bit is set by hardware whenever the comparator 0 output changes state. This will generate an interrupt if ACMP_CR0[1] is set to 1.\nNote: Write 1 to clear this bit to 0.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator 0 output does not change

#1 : 1

Analog comparator 0 output changed since this bit was cleared to 0

End of enumeration elements list.

ACMPF1 : Analog Comparator 1 Flag\nThis bit is set by hardware whenever the comparator 1 output changes state. This will generate an interrupt if ACMP_CR1[1] is set to 1.\nNote: Write 1 to clear this bit to 0.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator 1 output does not change

#1 : 1

Analog comparator 1 output changed since this bit was cleared to 0

End of enumeration elements list.

ACMPO0 : Analog Comparator 0 Output\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator 0 outputs 0

#1 : 1

Analog comparator 0 outputs 1

End of enumeration elements list.

ACMPO1 : Analog Comparator 1 Output\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator 1 outputs 0

#1 : 1

Analog comparator 1 outputs 1

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.