\n

ACMP

Peripheral Memory Blocks

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

Registers

ACMP0CR

ACMP1CR

ACMP2CR

ACMPSR


ACMP0CR

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

ACMP0CR ACMP0CR 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 ACMP0_EN ACMPIE0 ACMP0_HYS_EN CP0 CN0 ACMP0INV

ACMP0_EN : Analog Comparator 0 Enable\nComparator output need wait stable 10 us after ACMP0_EN is set.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

ACMPIE0 : Analog Comparator 0 Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt function Disabled

#1 : 1

Interrupt function Enabled

End of enumeration elements list.

ACMP0_HYS_EN : CMP Hysteresis Enable
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Hysteresis function Disabled (Default).

#1 : 1

Hysteresis function Enabled. The typical range is 20mV

End of enumeration elements list.

CP0 : Analog Comparator 0 positive input select
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator reference pin P8.4/CPP0 is selected as the positive comparator input

#1 : 1

The internal OP amplifier 0 output is selected as the positive comparator input

End of enumeration elements list.

CN0 : Analog Comparator 0 negative input select
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator reference pin P8.3/CPN0 is selected as the negative comparator input

#1 : 1

The internal comparator reference voltage (Vref=1.2V) is selected as the negative comparator input

End of enumeration elements list.

ACMP0INV : Analog Comparator 0 output inverse select
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.


ACMP1CR

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

ACMP1CR ACMP1CR 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 ACMP1_EN ACMPIE1 ACMP1_HYS_EN CP1 CN1 ACMP1INV

ACMP1_EN : Analog Comparator 1 Enable\nComparator output need wait stable 10 us after ACMP1_EN is set.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

ACMPIE1 : Analog Comparator 1 Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt function Disabled

#1 : 1

Interrupt function Enabled

End of enumeration elements list.

ACMP1_HYS_EN : CMP Hysteresis Enable
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Hysteresis function Disabled (Default).

#1 : 1

Hysteresis function Enabled. The typical range is 20mV

End of enumeration elements list.

CP1 : Analog Comparator 1 positive input select
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator reference pin P6.5/CPP1 is selected as the positive comparator input

#1 : 1

The internal OP amplifier 1 output is selected as the positive comparator input

End of enumeration elements list.

CN1 : Analog Comparator 1 negative input select
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator reference pin P6.4/CPN1 is selected as the negative comparator input

#1 : 1

The internal comparator reference voltage (Vref=1.2V) is selected as the negative comparator input

End of enumeration elements list.

ACMP1INV : Analog Comparator 1 output inverse select
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.


ACMP2CR

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

ACMP2CR ACMP2CR 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 ACMP2_EN ACMPIE2 ACMP2_HYS_EN CN2 ACMP2INV

ACMP2_EN : Analog Comparator 2 Enable\nComparator output need wait stable 10 us after ACMP2_EN is first set.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

ACMPIE2 : Analog Comparator 2 Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt function Disabled

#1 : 1

Interrupt function Enabled

End of enumeration elements list.

ACMP2_HYS_EN : CMP Hysteresis Enable
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Hysteresis function Disabled (Default).

#1 : 1

Hysteresis function Enabled. The typical range is 20mV

End of enumeration elements list.

CN2 : Analog Comparator 2 negative input select
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator reference pin P7.4/CPN2 is selected as the negative comparator input

#1 : 1

The internal comparator reference voltage (Vref=1.2V) is selected as the negative comparator input

End of enumeration elements list.

ACMP2INV : Analog Comparator 2 output inverse select
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.


ACMPSR

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

ACMPSR ACMPSR 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 ACMPF2 CO0 CO1 CO2

ACMPF0 : Compare 0 Flag\nThis bit is set by hardware whenever the comparator 0 output changes state. This will cause an interrupt if ACMPCR0[1] is set to 1.\nWrite 1 to clear this bit to 0.
bits : 0 - 0 (1 bit)
access : read-write

ACMPF1 : Compare 1 Flag\nThis bit is set by hardware whenever the comparator 1 output changes state. This will cause an interrupt if ACMPCR1[1] is set to 1.\nWrite 1 to clear this bit to 0.
bits : 1 - 1 (1 bit)
access : read-write

ACMPF2 : Compare 2 Flag\nThis bit is set by hardware whenever the comparator 2 output changes state. This will cause an interrupt if ACMPCR2[1] is set to 1.\nWrite 1 to clear this bit to 0.
bits : 2 - 2 (1 bit)
access : read-write

CO0 : Compare 0 Output
bits : 8 - 8 (1 bit)
access : read-write

CO1 : Compare 1 Output
bits : 9 - 9 (1 bit)
access : read-write

CO2 : Compare 2 Output
bits : 10 - 10 (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.