BL602/604 Reference Manual
12.4.11 pwm1_period
Address
:
0x4000a44c
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PERIOD
Bits
Name
Type
Reset
Description
31:16
RSVD
15:0
PERIOD
R/W
16’d0
PWM period setting
12.4.12 pwm1_config
Address
:
0x4000a450
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
STOP
STA
STOP
EN
SW
MODE
SW
FVAL
STOP
MODE
OUT
INV
CLKSEL
Bits
Name
Type
Reset
Description
31:8
RSVD
7
STOPSTA
R
1’b0
PWM stop status
6
STOPEN
R/W
1’b0
PWM stop enable
5
SWMODE
R/W
1’b0
PWM SW Mode setting
4
SWFVAL
R/W
1’b0
PWM SW Mode force value
3
STOPMODE
R/W
1’b1
PWM stop mode, 1’b1 - graceful ; 1’b0 - abrupt
2
OUTINV
R/W
1’b0
PWM invert output mode
1:0
CLKSEL
R/W
2’d0
PWM clock source select, 2’b00-xclk ; 2’b01-bclk ; others-
f32k_clk
12.4.13 pwm1_interrupt
Address
:
0x4000a454
BL602/604 Reference Manual
165/ 195
@2020 Bouffalo Lab