FreeNOS
Data Structures | Macros
BroadcomTimer.h File Reference
#include <Types.h>
#include <Macros.h>
#include <Timer.h>
#include <arm/ARMIO.h>

Go to the source code of this file.

Data Structures

class  BroadcomTimer
 Broadcom System-on-Chip system timer. More...
 

Macros

#define SYSTIMER_BASE   0x3000
 
#define SYSTIMER_CS   (SYSTIMER_BASE + 0x0)
 
#define SYSTIMER_CLO   (SYSTIMER_BASE + 0x4)
 
#define SYSTIMER_C0   (SYSTIMER_BASE + 0xC)
 Used by GPU. More...
 
#define SYSTIMER_C1   (SYSTIMER_BASE + 0x10)
 
#define SYSTIMER_C2   (SYSTIMER_BASE + 0x14)
 Used by GPU. More...
 
#define SYSTIMER_C3   (SYSTIMER_BASE + 0x18)
 
#define M3   3
 
#define M2   2
 
#define M1   1
 
#define M0   0
 
#define BCM_SYSTIMER_FREQ   1000000
 BCM Sys Timer runs at 1Mhz. More...