EasyManua.ls Logo

Allwinner A20 - Page 119

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 119 / 812
Offset: 0x50
Register Name: TMR4_CTRL_REG
Bit
Read/
Write
Default/Hex
Description
timer will not disable automatically.
1: Single mode. When interval value reached, the timer will
disable automatically.
6:4
R/W
0x0
TMR4_CLK_PRES.
Select the pre-scale of timer 4 clock source.
000: /1
001: /2
010: /4
011: /8
100: /16
101: /32
110: /64
111: /128
3:2
R/W
0x1
TMR4_CLK_SRC.
Timer 4 Clock Source.
00: Low speed OSC,
01: OSC24M.
10: External CLKIN0
11: /.
1
R/W
0x0
TMR4_RELOAD.
Timer 4 Reload.
0: No effect, 1: Reload timer 4 Interval value.
0
R/W
0x0
TMR4_EN.
Timer 4 Enable.
0: Stop/Pause, 1: Start.
If the timer is started, it will reload the interval value to
internal register, and the current counter will count from
interval value to 0.
If the current counter does not reach the zero, the timer
enable bit is set to “0”, the current value counter will pause.
At least wait for 2 Tcylces, the start bit can be set to 1.
In timer pause state, the interval value register can be
modified. If the timer is started again, and the Software
hope the current value register to down-count from the
new interval value, the reload bit and the enable bit should
be set to 1 at the same time.
Note:

Table of Contents