\n
address_offset : 0x0 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected
Comparator0 Control Register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CMP0EN : Comparator0 Enable\nComparator output needs wait 2 us stable time after CMP0EN is set.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disabled
#1 : 1
Enabled
End of enumeration elements list.
CMP0IE : Comparator0 Interrupt Enable\n
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt function Disabled
#1 : 1
Interrupt function Enabled
End of enumeration elements list.
CMP0_HYSEN : Comparator0 Hysteresis Enable\n
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Hysteresis function Disabled (Default)
#1 : 1
Hysteresis function Enabled. The typical range is 20 mV
End of enumeration elements list.
CMP0CN : Comparator0 Negative Input Selection\n
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
The source of the negative comparator input is from CPN0 pin
#1 : 1
The internal band-gap reference voltage is selected as the source of negative comparator input
End of enumeration elements list.
Comparator1 Control Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CMP1EN : Comparator1 Enable\nComparator output needs to wait 2 us stable time after CMP1EN is set.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disabled
#1 : 1
Enabled
End of enumeration elements list.
CMP1IE : Comparator1 Interrupt Enable\n
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt function Disabled
#1 : 1
Interrupt function Enabled
End of enumeration elements list.
CMP1_HYSEN : Comparator1 Hysteresis Enable\n
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Hysteresis function Disabled (Default)
#1 : 1
Hysteresis function Enabled. The typical range is 20 mV
End of enumeration elements list.
CMP1CN : Comparator1 Negative Input Selection\n
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
The source of the negative comparator input is from CPN1 pin
#1 : 1
The internal band-gap reference voltage is selected as the source of negative comparator input
End of enumeration elements list.
Comparator Status Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CMPF0 : Comparator0 Flag\nThis bit is set by hardware whenever the comparator0 output changes state. This will cause an interrupt if CMP0IE set.\nWrite 1 to clear this bit to 0.
bits : 0 - 0 (1 bit)
access : read-write
CMPF1 : Comparator1 Flag\nThis bit is set by hardware whenever the comparator1 output changes state. This will cause an interrupt if CMP1IE set.\nWrite 1 to clear this bit to 0.
bits : 1 - 1 (1 bit)
access : read-write
CO0 : Comparator0 Output\n
bits : 2 - 2 (1 bit)
access : read-write
CO1 : Comparator1 Output\n
bits : 3 - 3 (1 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.