\n

ACMPLP

Peripheral Memory Blocks

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

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

Registers

COMPMDR

COMPFIR

COMPOCR

COMPSEL0

COMPSEL1


COMPMDR

ACMPLP Mode Setting Register
address_offset : 0x0 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMPMDR COMPMDR read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 C0ENB C0WDE C0VRF C0MON C1ENB C1WDE C1VRF C1MON

C0ENB : ACMPLP0 Operation Enable
bits : 0 - -1 (0 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

C0WDE : ACMPLP0 Window Function Mode Enable
bits : 1 - 0 (0 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

C0VRF : ACMPLP0 Reference Voltage Selection
bits : 2 - 1 (0 bit)
access : read-write

Enumeration:

#0 : 0

IVREF0

#1 : 1

internal reference voltage (Vref)

End of enumeration elements list.

C0MON : ACMPLP0 Monitor Flag
bits : 3 - 2 (0 bit)
access : read-only

Enumeration:

#0 : 0

CMPIN0 < CMPREF0, CMPIN0 < internal reference voltage, or ACMPLP0 operation disabled.(When the window function is disabled)/CMPIN0 < VRFL, CMPIN0 > VRFH, or ACMPLP0 operation disabled.(When the window function is enabled)

#1 : 1

CMPIN0 > CMPREF0, or CMPIN0 > internal reference voltage.(When the window function is disabled)/VRFL < CMPIN0 < VRFH.(When the window function is enabled)

End of enumeration elements list.

C1ENB : ACMPLP1 Operation Enable
bits : 4 - 3 (0 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

C1WDE : ACMPLP1 Window Function Mode Enable
bits : 5 - 4 (0 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

C1VRF : ACMPLP1 Reference Voltage Selection
bits : 6 - 5 (0 bit)
access : read-write

Enumeration:

#0 : 0

IVREF0 or IVREF1

#1 : 1

internal reference voltage (Vref)

End of enumeration elements list.

C1MON : ACMPLP1 Monitor Flag
bits : 7 - 6 (0 bit)
access : read-only

Enumeration:

#0 : 0

CMPIN1 < CMPREF1, CMPIN1 < internal reference voltage, or ACMPLP1 operation disabled.(When the window function is disabled)/CMPIN1 < VRFL, CMPIN1 > VRFH, or ACMPLP1 operation disabled.(When the window function is enabled)

#1 : 1

CMPIN1 > CMPREF1, or CMPIN1 > internal reference voltage.(When the window function is disabled)/VRFL < CMPIN1 < VRFH.(When the window function is enabled)

End of enumeration elements list.


COMPFIR

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

COMPFIR COMPFIR read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 C0FCK C0EPO C0EDG C1FCK C1EPO C1EDG

C0FCK : ACMPLP0 Filter Select
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#00 : 00

No Sampling (bypass)

#01 : 01

Sampling at PCLK

#10 : 10

Sampling at PCLK/8

#11 : 11

Sampling at PCLK/32

End of enumeration elements list.

C0EPO : ACMPLP0 Edge Polarity Switching
bits : 2 - 1 (0 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt and ELC event request at rising edge

#1 : 1

Interrupt and ELC event request at falling edge

End of enumeration elements list.

C0EDG : ACMPLP0 Edge Detection Selection
bits : 3 - 2 (0 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt and ELC event request by one-edge detection

#1 : 1

Interrupt and ELC event request by both-edge detection

End of enumeration elements list.

C1FCK : ACMPLP1 Filter Select
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#00 : 00

No Sampling (bypass)

#01 : 01

Sampling at PCLK

#10 : 10

Sampling at PCLK/8

#11 : 11

Sampling at PCLK/32

End of enumeration elements list.

C1EPO : ACMPLP1 Edge Polarity Switching
bits : 6 - 5 (0 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt and ELC event request at rising edge

#1 : 1

Interrupt and ELC event request at falling edge

End of enumeration elements list.

C1EDG : ACMPLP1 Edge Detection Selection
bits : 7 - 6 (0 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt and ELC event request by one-edge detection

#1 : 1

Interrupt and ELC event request by both-edge detection

End of enumeration elements list.


COMPOCR

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

COMPOCR COMPOCR read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 C0OE C0OP Reserved Reserved C1OE C1OP SPDMD

C0OE : ACMPLP0 VCOUT Pin Output Enable
bits : 1 - 0 (0 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

C0OP : ACMPLP0 VCOUT Output Polarity Selection
bits : 2 - 1 (0 bit)
access : read-write

Enumeration:

#0 : 0

Non inverted

#1 : 1

Inverted

End of enumeration elements list.

Reserved : These bits are read as 00. The write value should be 00.
bits : 3 - 3 (1 bit)
access : read-write

Reserved : These bits are read as 00. The write value should be 00.
bits : 3 - 3 (1 bit)
access : read-write

C1OE : ACMPLP1 VCOUT Pin Output Enable
bits : 5 - 4 (0 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

C1OP : ACMPLP1 VCOUT Output Polarity Selection
bits : 6 - 5 (0 bit)
access : read-write

Enumeration:

#0 : 0

Non inverted

#1 : 1

Inverted

End of enumeration elements list.

SPDMD : ACMPLP0/ACMPLP1 Speed Selection
bits : 7 - 6 (0 bit)
access : read-write

Enumeration:

#0 : 0

Comparator low-speed mode

#1 : 1

Comparator high-speed mode

End of enumeration elements list.


COMPSEL0

Comparator Input Select Register
address_offset : 0x4 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMPSEL0 COMPSEL0 read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CMPSEL20 CMPSEL64 Reserved Reserved

CMPSEL20 : ACMPLP0 Input(IVCMP0) Selection
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#000 : 000

No input

#001 : 001

CMPIN0 (P100)

#100 : 100

CMPIN0 (P503)

End of enumeration elements list.

CMPSEL64 : ACMPLP1 Input (IVCMP1) Selection
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#000 : 000

No input

#001 : 001

CMPIN1 (P102)

#100 : 100

CMPIN1 (P501)

End of enumeration elements list.

Reserved : This bit is read as 0. The write value should be 0.
bits : 7 - 6 (0 bit)
access : read-write

Reserved : This bit is read as 0. The write value should be 0.
bits : 7 - 6 (0 bit)
access : read-write


COMPSEL1

Comparator Reference Voltage Select Register
address_offset : 0x5 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMPSEL1 COMPSEL1 read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CRVS20 Reserved CRVS64 C1VRF2

CRVS20 : ACMPLP0 Reference Voltage(IVREF0) Selection*
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#000 : 000

No input

#001 : 001

CMPREF0 (P101)

#010 : 010

DAC8 (ch0) output

#100 : 100

CMPREF0 (P502)

End of enumeration elements list.

Reserved : This bit is read as 0. The write value should be 0.
bits : 3 - 2 (0 bit)
access : read-write

CRVS64 : ACMPLP1 Reference Voltage(IVREF1) Selection
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#000 : 000

No input

#001 : 001

CMPREF1 (P103)

#010 : 010

DAC8 (ch1) output

#100 : 100

CMPREF1 (P500)

End of enumeration elements list.

C1VRF2 : ACMPLP1 Reference Voltage Selection
bits : 7 - 6 (0 bit)
access : read-write

Enumeration:

#0 : 0

IVREF0 selected

#1 : 1

IVREF1 selected.

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.