\n

ACMPHS0

Peripheral Memory Blocks

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

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

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

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

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

Registers

CMPCTL

CPIOC

CMPSEL0

CMPSEL1

CMPMON


CMPCTL

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

CMPCTL CMPCTL read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CINV COE CSTEN CEG CDFS HCMPON

CINV : Comparator output polarity selection
bits : 0 - -1 (0 bit)
access : read-write

Enumeration:

#0 : 0

Comparator output not inverted

#1 : 1

Comparator output inverted

End of enumeration elements list.

COE : Comparator output enable
bits : 1 - 0 (0 bit)
access : read-write

Enumeration:

#0 : 0

Comparator output disabled (the output signal is low level).

#1 : 1

Comparator output enabled

End of enumeration elements list.

CSTEN : Interrupt Select
bits : 2 - 1 (0 bit)
access : read-write

Enumeration:

#0 : 0

Output via the Edge selector

#1 : 1

Direct output

End of enumeration elements list.

CEG : Selection of valid edge (Edge selector)
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#00 : 00

No edge selection.

#01 : 01

Rising edge selection.

#10 : 10

Falling edge selection

#11 : 11

Both-edge selection

End of enumeration elements list.

CDFS : Noise filter selection
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#00 : 00

Noise filter not used.

#01 : 01

Noise filter sampling frequency is 2^3/PCLKB.

#10 : 10

Noise filter sampling frequency is 2^4/PCLKB.

#11 : 11

Noise filter sampling frequency is 2^5/PCLKB.

End of enumeration elements list.

HCMPON : Comparator operation control
bits : 7 - 6 (0 bit)
access : read-write

Enumeration:

#0 : 0

Operation stopped (the comparator outputs a low-level signal)

#1 : 1

Operation enabled (input to the comparator pins is enabled

End of enumeration elements list.


CPIOC

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

CPIOC CPIOC read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CPOE VREFEN

CPOE : Comparator output selection
bits : 0 - -1 (0 bit)
access : read-write

Enumeration:

#0 : 0

VCOUT pin output of the comparator is disabled (the output signal is low level).

#1 : 1

VCOUT pin output of the comparator is enabled

End of enumeration elements list.

VREFEN : Internal Vref enable
bits : 7 - 6 (0 bit)
access : read-write

Enumeration:

#0 : 0

Internal Vref disable

#1 : 1

Internal Vref enable

End of enumeration elements list.


CMPSEL0

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

CMPSEL0 CMPSEL0 read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CMPSEL

CMPSEL : Comparator input selection
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

#0000 : 0000

No input

#0001 : 0001

IVCMP0 selected

#0010 : 0010

IVCMP1 selected

#0100 : 0100

IVCMP2 selected

#1000 : 1000

IVCMP3 selected

: others

Setting prohibited

End of enumeration elements list.


CMPSEL1

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

CMPSEL1 CMPSEL1 read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CRVS

CRVS : Reference voltage selection
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

#0000 : 0000

No reference voltage

#0001 : 0001

IVREF0 selected

#0010 : 0010

IVREF1 selected

#0100 : 0100

IVREF2 selected

#1000 : 1000

IVREF3 selected

: others

Setting prohibited

End of enumeration elements list.


CMPMON

Comparator Output Monitor Register
address_offset : 0xC Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

CMPMON CMPMON read-only 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CMPMON

CMPMON : Comparator output monitor
bits : 0 - -1 (0 bit)
access : read-only

Enumeration:

#0 : 0

Comparator output Low

#1 : 1

Comparator output High

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.