\n

ACMP

Peripheral Memory Blocks

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

Registers

CS

C0

C1

C2


CS

ACMP Control and Status Register
address_offset : 0x0 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CS CS read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 ACMOD ACOPE ACO ACIE ACF HYST ACE

ACMOD : ACMP MOD
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#00 : 00

ACMP interrupt on output falling edge.

#01 : 01

ACMP interrupt on output rising edge.

#10 : 10

ACMP interrupt on output falling edge.

#11 : 11

ACMP interrupt on output falling or rising edge.

End of enumeration elements list.

ACOPE : ACMP Output Pin Enable
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

ACMP output cannot be placed onto external pin.

#1 : 1

ACMP output can be placed onto external pin.

End of enumeration elements list.

ACO : ACMP Output
bits : 3 - 3 (1 bit)
access : read-only

ACIE : ACMP Interrupt Enable
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable the ACMP Interrupt.

#1 : 1

Enable the ACMP Interrupt.

End of enumeration elements list.

ACF : ACMP Interrupt Flag Bit
bits : 5 - 5 (1 bit)
access : read-write

HYST : Analog Comparator Hysterisis Selection
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

20 mV.

#1 : 1

30 mV.

End of enumeration elements list.

ACE : Analog Comparator Enable
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

The ACMP is disabled.

#1 : 1

The ACMP is enabled.

End of enumeration elements list.


C0

ACMP Control Register 0
address_offset : 0x1 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

C0 C0 read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 ACNSEL RESERVED ACPSEL RESERVED

ACNSEL : ACMP Negative Input Select
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#00 : 00

External reference 0

#01 : 01

External reference 1

#10 : 10

External reference 2

#11 : 11

DAC output

End of enumeration elements list.

RESERVED : no description available
bits : 2 - 3 (2 bit)
access : read-only

ACPSEL : ACMP Positive Input Select
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#00 : 00

External reference 0

#01 : 01

External reference 1

#10 : 10

External reference 2

#11 : 11

DAC output

End of enumeration elements list.

RESERVED : no description available
bits : 6 - 7 (2 bit)
access : read-only


C1

ACMP Control Register 1
address_offset : 0x2 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

C1 C1 read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 DACVAL DACREF DACEN

DACVAL : DAC Output Level Selection
bits : 0 - 5 (6 bit)
access : read-write

DACREF : DAC Reference Select
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

The DAC selects Bandgap as the reference.

#1 : 1

The DAC selects VDDA as the reference.

End of enumeration elements list.

DACEN : DAC Enable
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

The DAC is disabled.

#1 : 1

The DAC is enabled.

End of enumeration elements list.


C2

ACMP Control Register 2
address_offset : 0x3 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

C2 C2 read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 ACIPE RESERVED

ACIPE : ACMP Input Pin Enable
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

#0 : 0

The corresponding external analog input is not allowed.

#1 : 1

The corresponding external analog input is allowed.

End of enumeration elements list.

RESERVED : no description available
bits : 3 - 7 (5 bit)
access : read-only



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.