\n

R_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

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

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

Select CMPREF0 input as ACMPLP0 reference voltage.

#1 : 1

Select internal reference voltage (Vref) as ACMPLP0 reference voltage.

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

Select CMPREF1 input as ACMPLP1 reference voltage.

#1 : 1

Select internal reference voltage (Vref) as ACMPLP1 reference voltage.

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 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.

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 IVCMP0 IVCMP1

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

Enumeration:

#00 : 00

No input

#01 : 01

CMPIN0 input selected

#10 : 10

AMP0O output selected

End of enumeration elements list.

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

Enumeration:

#00 : 00

No input

#01 : 01

CMPIN1 input selected

#10 : 10

AMP1O output selected

End of enumeration elements list.


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 IVREF0 IVREF1 C1VRF2

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

Enumeration:

#00 : 00

No reference voltage

#01 : 01

CMPREF0 selected

#10 : 10

DA8_0 output selected

End of enumeration elements list.

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

Enumeration:

#00 : 00

No reference voltage

#01 : 01

CMPREF1 selected

#10 : 10

DA8_1 output selected

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.