ReactOS 0.4.16-dev-91-g764881a
sp804.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  _SP804_CONTROL_REGISTER
 

Macros

#define TIMER_BASE(x)   (ULONG_PTR)(0x101E2000 + (x * 0x1000))
 
#define TIMER0_LOAD   TIMER_BASE(0) + 0x00
 
#define TIMER0_VALUE   TIMER_BASE(0) + 0x04
 
#define TIMER0_CONTROL   TIMER_BASE(0) + 0x08
 
#define TIMER0_INT_CLEAR   TIMER_BASE(0) + 0x0C
 
#define TIMER0_INT_STATUS   TIMER_BASE(0) + 0x10
 
#define TIMER0_INT_MASK   TIMER_BASE(0) + 0x14
 
#define TIMER0_BACKGROUND_LOAD   TIMER_BASE(1) + 0x18
 
#define TIMER1_LOAD   TIMER_BASE(1) + 0x00
 
#define TIMER1_VALUE   TIMER_BASE(1) + 0x04
 
#define TIMER1_CONTROL   TIMER_BASE(1) + 0x08
 
#define TIMER1_INT_CLEAR   TIMER_BASE(1) + 0x0C
 
#define TIMER1_INT_STATUS   TIMER_BASE(1) + 0x10
 
#define TIMER1_INT_MASK   TIMER_BASE(1) + 0x14
 
#define TIMER1_BACKGROUND_LOAD   TIMER_BASE(1) + 0x18
 

Typedefs

typedef union _SP804_CONTROL_REGISTER SP804_CONTROL_REGISTER
 
typedef union _SP804_CONTROL_REGISTERPSP804_CONTROL_REGISTER
 

Macro Definition Documentation

◆ TIMER0_BACKGROUND_LOAD

#define TIMER0_BACKGROUND_LOAD   TIMER_BASE(1) + 0x18

Definition at line 21 of file sp804.h.

◆ TIMER0_CONTROL

#define TIMER0_CONTROL   TIMER_BASE(0) + 0x08

Definition at line 17 of file sp804.h.

◆ TIMER0_INT_CLEAR

#define TIMER0_INT_CLEAR   TIMER_BASE(0) + 0x0C

Definition at line 18 of file sp804.h.

◆ TIMER0_INT_MASK

#define TIMER0_INT_MASK   TIMER_BASE(0) + 0x14

Definition at line 20 of file sp804.h.

◆ TIMER0_INT_STATUS

#define TIMER0_INT_STATUS   TIMER_BASE(0) + 0x10

Definition at line 19 of file sp804.h.

◆ TIMER0_LOAD

#define TIMER0_LOAD   TIMER_BASE(0) + 0x00

Definition at line 15 of file sp804.h.

◆ TIMER0_VALUE

#define TIMER0_VALUE   TIMER_BASE(0) + 0x04

Definition at line 16 of file sp804.h.

◆ TIMER1_BACKGROUND_LOAD

#define TIMER1_BACKGROUND_LOAD   TIMER_BASE(1) + 0x18

Definition at line 28 of file sp804.h.

◆ TIMER1_CONTROL

#define TIMER1_CONTROL   TIMER_BASE(1) + 0x08

Definition at line 24 of file sp804.h.

◆ TIMER1_INT_CLEAR

#define TIMER1_INT_CLEAR   TIMER_BASE(1) + 0x0C

Definition at line 25 of file sp804.h.

◆ TIMER1_INT_MASK

#define TIMER1_INT_MASK   TIMER_BASE(1) + 0x14

Definition at line 27 of file sp804.h.

◆ TIMER1_INT_STATUS

#define TIMER1_INT_STATUS   TIMER_BASE(1) + 0x10

Definition at line 26 of file sp804.h.

◆ TIMER1_LOAD

#define TIMER1_LOAD   TIMER_BASE(1) + 0x00

Definition at line 22 of file sp804.h.

◆ TIMER1_VALUE

#define TIMER1_VALUE   TIMER_BASE(1) + 0x04

Definition at line 23 of file sp804.h.

◆ TIMER_BASE

#define TIMER_BASE (   x)    (ULONG_PTR)(0x101E2000 + (x * 0x1000))

Definition at line 14 of file sp804.h.

Typedef Documentation

◆ PSP804_CONTROL_REGISTER

◆ SP804_CONTROL_REGISTER