Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
409
/
631
Bit field
Name
Description
31:16
Reserved
Reserved, the reset value must be maintained
15:0
CLKPSC[15:0]
Low filter sample clock prescale.
System clock divider = CLK_PRE 1, e.g.
0: Every cycle
1: Every 2 cycle
2: Every 3 cycle
…
COMP control register (COMP2_CTRL)
Address offset : 0x20
Reset value : 0x0000 0000
Bit field
Name
Description
31:22
Reserved
Reserved, the reset value must be maintained
19
OUT
This read-only bit is a copy of comparator 2 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 2 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
01: Low hysteresis
10: Medium hysteresis
11: High hysteresis
13
POL
This bit is used to invert the comparator 2 output.
0: Output is not inverted
1: Output is inverted
12:9
OUTTRG[3:0]
These bits select which Timer input must be connected with the comparator 2 output.
0000
:
Reserved.
;
0001
:
TIM1_BKIN
;
0010
:
TIM1_OCrefclear
;