\n
address_offset : 0x0 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection :
Analog Comparator 0 Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ACMPEN : Comparator Enable
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable
#1 : 1
Enable
End of enumeration elements list.
ACMPIE : CMP0 Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable CMP0 interrupt function
#1 : 1
Enable CMP0 interrupt function
End of enumeration elements list.
NEGSEL : Comparator0 Negative Input Select
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
VBG, Bandgap reference voltage aaa 1.2V
#1 : 1
VMID reference voltage aaa VCCA/2
End of enumeration elements list.
Analog Comparator 1 Control Register
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ACMPEN : Comparator Enable
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable
#1 : 1
Enable
End of enumeration elements list.
ACMPIE : CMP1 Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable CMP1interrupt function
#1 : 1
Enable CMP1 interrupt function
End of enumeration elements list.
NEGSEL : Comparator1 Negative Input Select
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
GPIOB[7]
#1 : 1
VBG, Bandgap reference voltage aaa 1.2V
End of enumeration elements list.
Comparator Status Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ACMPIF0 : Compare 0 Flag
This bit is set by hardware whenever the comparator output changes state. This bit will cause a hardware interrupt if enabled. This bit is cleared by writing 1 to itself.
bits : 0 - 0 (1 bit)
access : read-write
ACMPIF1 : Compare 1 Flag
This bit is set by hardware whenever the comparator output changes state. This bit will cause a hardware interrupt if enabled. This bit is cleared by writing 1 to itself.
bits : 1 - 1 (1 bit)
access : read-write
ACMPO0 : Comparator0 Output
Synchronized to the APB clock to allow reading by software. Cleared when the comparator is disabled (CMP0EN aaa 0).
bits : 2 - 2 (1 bit)
access : read-write
ACMPO1 : Comparator1 Output
Synchronized to the APB clock to allow reading by software. Cleared when the comparator is disabled (CMP1EN aaa 0).
bits : 3 - 3 (1 bit)
access : read-write
Comparator Select Register
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
POSSEL : Comparator0 GPIO Selection
GPIOB[POSSEL] is the active analog GPIO input selected to Comparator 0 positive input.
bits : 0 - 2 (3 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 Embeetle, an IDE designed from scratch for embedded software developers.