FreeNOS
Data Structures | Macros
Broadcom

Broadcom System-on-Chip (SoC) device specific code including timers, interrupt controllers and more. More...

Data Structures

class  Broadcom2836
 Broadcom 2836 device specific I/O configuration. More...
 
class  BroadcomGPIO
 Broadcom (2835) GPIO controller implementation. More...
 
class  BroadcomInterrupt
 Raspberry Pi Interrupt Controller implementation. More...
 
class  BroadcomMailbox
 Broadcom System-on-Chip Mailbox interface. More...
 
class  BroadcomPower
 Broadcom Power Management. More...
 
class  BroadcomTimer
 Broadcom System-on-Chip system timer. More...
 

Macros

#define BCM_IRQ_SYSTIMERM1   1
 Triggered when the system timer matches the C1 register. More...
 
#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...
 

Detailed Description

Broadcom System-on-Chip (SoC) device specific code including timers, interrupt controllers and more.

Macro Definition Documentation

◆ BCM_IRQ_SYSTIMERM1

#define BCM_IRQ_SYSTIMERM1   1

Triggered when the system timer matches the C1 register.

See also
table page 113 of the BCM2835 Arm Peripherals datasheet for vector numbers

Definition at line 40 of file BroadcomInterrupt.h.

◆ BCM_SYSTIMER_FREQ

#define BCM_SYSTIMER_FREQ   1000000

BCM Sys Timer runs at 1Mhz.

Definition at line 55 of file BroadcomTimer.h.

◆ M0

#define M0   0

Definition at line 52 of file BroadcomTimer.h.

◆ M1

#define M1   1

Definition at line 51 of file BroadcomTimer.h.

◆ M2

#define M2   2

Definition at line 50 of file BroadcomTimer.h.

◆ M3

#define M3   3

Definition at line 49 of file BroadcomTimer.h.

◆ SYSTIMER_BASE

#define SYSTIMER_BASE   0x3000

Definition at line 37 of file BroadcomTimer.h.

◆ SYSTIMER_C0

#define SYSTIMER_C0   (SYSTIMER_BASE + 0xC)

Used by GPU.

Definition at line 43 of file BroadcomTimer.h.

◆ SYSTIMER_C1

#define SYSTIMER_C1   (SYSTIMER_BASE + 0x10)

Definition at line 44 of file BroadcomTimer.h.

◆ SYSTIMER_C2

#define SYSTIMER_C2   (SYSTIMER_BASE + 0x14)

Used by GPU.

Definition at line 47 of file BroadcomTimer.h.

◆ SYSTIMER_C3

#define SYSTIMER_C3   (SYSTIMER_BASE + 0x18)

Definition at line 48 of file BroadcomTimer.h.

◆ SYSTIMER_CLO

#define SYSTIMER_CLO   (SYSTIMER_BASE + 0x4)

Definition at line 40 of file BroadcomTimer.h.

◆ SYSTIMER_CS

#define SYSTIMER_CS   (SYSTIMER_BASE + 0x0)

Definition at line 39 of file BroadcomTimer.h.