EasyManua.ls Logo

Allwinner A20 - Page 104

Allwinner A20
812 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 104 / 812
Offset: 0x200
Register Name: PWM_CTRL_REG
Bit
Read/
Write
Default/Hex
Description
1: enable
23
R/W
0x0
PWM_CH1_PULSE_OUT_START.
PWM Channel 1 pulse output start.
0: no effect, 1: output 1 pulse.
The pulse width should be according to the period 1
register[15:0],and the pulse state should be according to the
active state.
After the pulse is finished, the bit will be cleared
automatically.
22
R/W
0x0
PWM_CH1_MODE.
PWM Channel 1 mode.
0: cycle mode, 1: pulse mode.
21
R/W
0x0
PWM_CH1_CLK_GATING
Gating the Special Clock for PWM1(0: mask, 1: pass).
20
R/W
0x0
PWM_CH1_ACT_STATE.
PWM Channel 1 Active State.
0: Low Level, 1: High Level.
19
R/W
0x0
PWM_CH1_EN.
PWM Channel 1 Enable.
0: Disable, 1: Enable.
18:15
R/W
0x0
PWM_CH1_PRESCAL.
PWM Channel 1 Prescalar.
These bits should be setting before the PWM Channel 1
clock gate on.
0000: /120
0001: /180
0010: /240
0011: /360
0100: /480
0101: /
0110: /
0111: /
1000: /12k
1001: /24k
1010: /36k
1011: /48k

Table of Contents