\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 Bit\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator Disabled

#1 : 1

Analog comparator Enabled

End of enumeration elements list.

ACMPIE0 : Analog Comparator 0 Interrupt Enable Bit\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.

ACMP0_HYS_EN : CMP Hysteresis Enable Bit\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.

CP0 : Analog Comparator 0 Positive Input Select \n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator reference pin P8.4/ACMP0_P 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 \n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

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

#1 : 1

The internal band-gap voltage (VBG) is selected as the negative comparator input

End of enumeration elements list.

ACMP0INV : Analog Comparator 0 Output Inverse Select \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.


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 Bit\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator Disabled

#1 : 1

Analog comparator Enabled

End of enumeration elements list.

ACMPIE1 : Analog Comparator 1 Interrupt Enable Bit\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.

ACMP1_HYS_EN : CMP Hysteresis Enable Bit\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.

CP1 : Analog Comparator 1 Positive Input Select \n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

The comparator reference pin P6.5/ACMP1_P 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 \n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

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

#1 : 1

The internal band-gap voltage (VBG) is selected as the negative comparator input

End of enumeration elements list.

ACMP1INV : Analog Comparator 1 Output Inverse Select \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.


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 Bit\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Analog comparator Disabled

#1 : 1

Analog comparator Enabled

End of enumeration elements list.

ACMPIE2 : Analog Comparator 2 Interrupt Enable Bit\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.

ACMP2_HYS_EN : CMP Hysteresis Enable Bit\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.

CN2 : Analog Comparator 2 Negative Input Select \n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

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

#1 : 1

The internal band-gap voltage (VBG) is selected as the negative comparator input

End of enumeration elements list.

ACMP2INV : Analog Comparator 2 Output Inverse Select \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.


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 OPDF0 OPDF1 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 ACMP0CR[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 ACMP1CR[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 ACMP2CR[1] is set to 1.\nWrite 1 to clear this bit to 0.
bits : 2 - 2 (1 bit)
access : read-write

OPDF0 : OP Amplifier 0 Schmitt Trigger Digital Output Interrupt Flag\nOPDF0 interrupt flag is set by hardware whenever the OP amplifier 0 Schmitt trigger non-inverting buffer digital output changes state. \nNote: This bit is remapping from OPASR[4] and writing 1 to ACMPSR[4] or OPASR[4] can clear this bit.
bits : 4 - 4 (1 bit)
access : read-write

OPDF1 : OP Amplifier 1 Schmitt Trigger Digital Output Interrupt Flag\nOPDF1 interrupt flag is set by hardware whenever the OP amplifier 1 Schmitt trigger non-inverting buffer digital output changes state. \nNote: This bit is remapping from OPASR[5] and writing 1 to ACMPSR[5] or OPASR[5] can clear this bit.
bits : 5 - 5 (1 bit)
access : read-write

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

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

CO2 : Compare 2 Output\n
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.