Owners manual

System
H3 Datasheet(Revision1.2) Copyrigh 2015 Allwinner Technology Co.,Ltd.All Rights Reserved. Page 158
Timer 0 Reload.
0: No effect
1: Reload timer 0 Interval value.
After the bit is set, it can not be written again before it’s cleared
automatically.
0
R/W
0x0
TMR0_EN.
Timer 0 Enable.
0: Stop/Pause
1: Start.
When 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 cycles, 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.
4.6.4.4. Timer 0 Interval Value Register
Offset:0x14
Register Name: TMR0_INTV_VALUE_REG
Bit
R/W
Default/Hex
Description
31:0
R/W
0x0
TMR0_INTV_VALUE.
Timer 0 Interval Value.
Note:The value setting should consider the system clock and the timer clock source.
4.6.4.5. Timer 0 Current Value Register
Offset:0x18
Register Name: TMR0_CUR_VALUE_REG
Bit
R/W
Default/Hex
Description
31:0
R/W
0x0
TMR0_CUR_VALUE.
Timer 0 Current Value.
Note: Timer0 current value is a 32-bit down-counter (from interval value to 0).
4.6.4.6. Timer 1 Control Register (Default Value: 0x00000004)
Offset:0x20
Register Name: TMR1_CTRL_REG
Bit
R/W
Default/Hex
Description
31:8
/
/
/
7
R/W
0x0
TMR1_MODE.
Timer 1 mode.
0: Continuous mode. When interval value reached, the timer will not disable
confidential