PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | __attribute__ |
struct | GIFTAG2 |
struct | GIFTAG3 |
Macros | |
#define | GIF_REG_CTRL *(volatile u32 *)0x10003000 |
#define | GIF_REG_MODE *(volatile u32 *)0x10003010 |
#define | GIF_REG_STAT *(volatile u32 *)0x10003020 |
#define | GIF_REG_TAG0 *(volatile u32 *)0x10003040 |
#define | GIF_REG_TAG1 *(volatile u32 *)0x10003050 |
#define | GIF_REG_TAG2 *(volatile u32 *)0x10003060 |
#define | GIF_REG_TAG3 *(volatile u32 *)0x10003070 |
#define | GIF_REG_CNT *(volatile u32 *)0x10003080 |
#define | GIF_REG_P3CNT *(volatile u32 *)0x10003090 |
#define | GIF_REG_P3TAG *(volatile u32 *)0x100030A0 |
#define | GIF_SET_CTRL(RST, PSE) (u32)((RST)&0x00000001) << 0 | (u32)((PSE)&0x00000001) << 3 |
#define | GIF_SET_MODE(M3R, IMT) (u32)((M3R)&0x00000001) << 0 | (u32)((IMT)&0x00000001) << 2 |
GIF Registers
Definition in file gif_registers.h.
struct GIFTAG2 |
Definition at line 72 of file gif_registers.h.
Data Fields | ||
---|---|---|
u32 | loregs |
struct GIFTAG3 |
Definition at line 77 of file gif_registers.h.
Data Fields | ||
---|---|---|
u32 | hiregs |
#define GIF_REG_CTRL *(volatile u32 *)0x10003000 |
Control Register
Definition at line 12 of file gif_registers.h.
#define GIF_REG_MODE *(volatile u32 *)0x10003010 |
Mode Setting Register
Definition at line 14 of file gif_registers.h.
#define GIF_REG_STAT *(volatile u32 *)0x10003020 |
Status Register
Definition at line 16 of file gif_registers.h.
#define GIF_REG_TAG0 *(volatile u32 *)0x10003040 |
GIFtag Save Register
Definition at line 18 of file gif_registers.h.
#define GIF_REG_TAG1 *(volatile u32 *)0x10003050 |
GIFtag Save Register
Definition at line 20 of file gif_registers.h.
#define GIF_REG_TAG2 *(volatile u32 *)0x10003060 |
GIFtag Save Register
Definition at line 22 of file gif_registers.h.
#define GIF_REG_TAG3 *(volatile u32 *)0x10003070 |
GIFtag Save Register
Definition at line 24 of file gif_registers.h.
#define GIF_REG_CNT *(volatile u32 *)0x10003080 |
Count Register
Definition at line 26 of file gif_registers.h.
#define GIF_REG_P3CNT *(volatile u32 *)0x10003090 |
PATH3 Count Register
Definition at line 28 of file gif_registers.h.
#define GIF_REG_P3TAG *(volatile u32 *)0x100030A0 |
PATH3 Tag Register
Definition at line 30 of file gif_registers.h.
#define GIF_SET_CTRL | ( | RST, | |
PSE | |||
) | (u32)((RST)&0x00000001) << 0 | (u32)((PSE)&0x00000001) << 3 |
Definition at line 32 of file gif_registers.h.
#define GIF_SET_MODE | ( | M3R, | |
IMT | |||
) | (u32)((M3R)&0x00000001) << 0 | (u32)((IMT)&0x00000001) << 2 |
Definition at line 35 of file gif_registers.h.