Go to the documentation of this file. 1 #ifndef __ASM_ARM_HARDWARE_ARM_TIMER_H
2 #define __ASM_ARM_HARDWARE_ARM_TIMER_H
15 #define TIMER_1_BASE 0x00
16 #define TIMER_2_BASE 0x20
18 #define TIMER_LOAD 0x00
19 #define TIMER_VALUE 0x04
20 #define TIMER_CTRL 0x08
21 #define TIMER_CTRL_ONESHOT (1 << 0)
22 #define TIMER_CTRL_32BIT (1 << 1)
23 #define TIMER_CTRL_DIV1 (0 << 2)
24 #define TIMER_CTRL_DIV16 (1 << 2)
25 #define TIMER_CTRL_DIV256 (2 << 2)
26 #define TIMER_CTRL_IE (1 << 5)
27 #define TIMER_CTRL_PERIODIC (1 << 6)
28 #define TIMER_CTRL_ENABLE (1 << 7)
30 #define TIMER_INTCLR 0x0c
31 #define TIMER_RIS 0x10
32 #define TIMER_MIS 0x14
33 #define TIMER_BGLOAD 0x18