Owners manual
System
H3 Datasheet(Revision1.2) Copyright© 2015 Allwinner Technology Co.,Ltd.All Rights Reserved. Page 175
Note: If the written value is not from 0 to 59 in Second Area, it turns into 59 automatically. Minute Area and Hour Area
are similar to Second Area.
4.8.3.6. Alarm 0 Counter Register (Default Value: 0x00000000)
Offset:0x20
Register Name: ALARM0_COUNTER_REG
Bit
R/W
Default/Hex
Description
31:0
R/W
0x0
ALARM0_COUNTER.
Alarm 0 Counter is Based on Second.
Note: If the second is set to 0, it will be 1 second in fact.
4.8.3.7. Alarm 0 Current Value Register
Offset:0x24
Register Name: ALARM0_CUR_VLU_REG
Bit
R/W
Default/Hex
Description
31:0
RO
x
ALARM0_CUR_VLU.
Check Alarm 0 Counter Current Values.
Note: If the second is set to 0, it will be 1 second in fact.
4.8.3.8. Alarm 0 Enable Register (Default Value: 0x00000000)
Offset:0x28
Register Name: ALARM0_ENABLE_REG
Bit
R/W
Default/Hex
Description
31:1
/
/
/
0
R/W
0x0
ALM_0_EN
Alarm 0 Enable.
If this bit is set to “1”, the Alarm 0 Counter register’s valid bits will down count
to zero, and the alarm pending bit will be set to “1”.
0: Disable
1: Enable
4.8.3.9. Alarm 0 IRQ Enable Register (Default Value: 0x00000000)
Offset:0x2C
Register Name: ALARM0_IRQ_EN
Bit
R/W
Default/Hex
Description
31:1
/
/
/
0
R/W
0x0
ALARM0_IRQ_EN.
confidential