Raspberry Pi Timer

Raspberry Pi Timer

The Physical (hardware) base address for the system timers is 0x7E003000.

树莓派的Timer共有7个寄存器 分别是

0x0   CS       System Timer Control/Status                 32
0x4   CLO    System Timer Counter Lower 32 bits    32
0x8   CHI     System Timer Counter Higher 32 bits    32
0xc   C0       System Timer Compare 0                       32
0x10 C1       System Timer Compare 1                       32
0x14 C2       System Timer Compare 2                       32
0x18 C3       System Timer Compare 3                       32