Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
406
/
631
Bit field
Name
Description
31:3
Reserved
Reserved, the reset value must be maintained
2
CMP2LK
This bit is write-once. It is set by software. It can only be cleared by a system reset.
If set it causes COMP2_ CTRL register to be read-only.
0: COMP2_ CTRL is read-write.
1: COMP2_CTRL is read-only
2
CMP1LK
This bit is write-once. It is set by software. It can only be cleared by a system reset.
If set it causes COMP1_ CTRL register to be read-only.
0: COMP1_ CTRL is read-write.
1: COMP1_CTRL is read-only
COMP control register (COMP1_CTRL)
Address offset : 0x10
Reset value : 0x0000 0000
Bit field
Name
Description
31:22
Reserved
Reserved, the reset value must be maintained
21
PWRMODE
Power mode of Comparator 1
These bits are set and cleared by software.
They control the power/speed of Comparator1.
0: Normal mode
1: Low power mode
20
INPDAC
The connection selection bit of the PA1 of the INP of the comparator 1 and the DAC output
0: Connect to PA1;
1: Connect to DAC output.
19
OUT
This read-only bit is a copy of comparator 1 output state.
0: Output is low (non-inverting input below inverting input).
1: Output is high (non-inverting input above inverting input).
18
:
16
BLKING[2:0]
These bits select which Timer output controls the comparator 1 output blanking.
000: No blanking
001: TIM1 OC5 selected as blanking source
010: TIM8 OC5 selected as blanking source
Other configurations: reserved
15:14
HYST[1:0]
These bits control the hysteresis level.
00: No hysteresis