PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
sior-common.h File Reference
#include <tamtypes.h>
+ Include dependency graph for sior-common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  siorInitArgs
 
struct  siorReadArgs
 
struct  siorWriteArgs
 
union  siorCommsData
 

Macros

#define SIOR_IRX   0xC001510
 

Enumerations

enum  {
  SIOR_INIT = 1 , SIOR_PUTC , SIOR_GETC , SIOR_GETCBLOCK ,
  SIOR_WRITE , SIOR_READ , SIOR_PUTS , SIOR_PUTSN ,
  SIOR_GETS , SIOR_FLUSH
}
 

Detailed Description

Common definitions for SIOR on the EE and IOP

Definition in file sior-common.h.


Data Structure Documentation

◆ siorInitArgs

struct siorInitArgs

Definition at line 36 of file sior-common.h.

Data Fields
u32 baudrate
u8 lcr_ueps
u8 lcr_upen
u8 lcr_usbl
u8 lcr_umode

◆ siorReadArgs

struct siorReadArgs

Definition at line 45 of file sior-common.h.

Data Fields
char * buf
s32 len

◆ siorWriteArgs

struct siorWriteArgs

Definition at line 51 of file sior-common.h.

Data Fields
const char * buf
s32 len

◆ siorCommsData

union siorCommsData

Definition at line 57 of file sior-common.h.

+ Collaboration diagram for siorCommsData:
Data Fields
u8 data[64]
int result
struct siorInitArgs init
struct siorReadArgs read
struct siorWriteArgs write
const char * cstr
char * str
int c

Macro Definition Documentation

◆ SIOR_IRX

#define SIOR_IRX   0xC001510

Definition at line 21 of file sior-common.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 23 of file sior-common.h.