800
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
1
CMP34MD
This bit selects window mode: the two non-inverting inputs of the comparator share the PB14
or PB0 input.
0: Comparators 3 and 4 are not in window mode;
1: Comparators 4 and 4 are in window mode.
0
CMP12MD
This bit selects window mode: the two non-inverting inputs of the comparator share the PA1
input.
0: Comparators 1 and 2 are not in window mode.
1: Comparators 1 and 2 are in window mode.
26.7.4
COMP lock register (COMP_LOCK)
Address offset : 0x84
Reset value : 0x0000 0000
Bit field
Name
Description
31:7
Reserved
Reserved, the reset value must be maintained
6
CMP7LK
This bit is write-once. It is set by software. It can only be cleared by a system reset.
If set it causes COMP7_CTRL register to be read-only.
0: COMP7_CTRL is read-write.
1: COMP7_CTRL is read-only
5
CMP6LK
Same function as CMP7LK.
4
CMP5LK
Same function as CMP7LK.
3
CMP4LK
Same function as CMP7LK.
2
CMP3LK
Same function as CMP7LK.
1
CMP2LK
Same function as CMP7LK.
0
CMP1LK
Same function as CMP7LK.
26.7.5
COMP interrupt enable register (COMP_INTEN)
Address offset : 0x8C
Reset value : 0x0000 0000