sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
SIOCookie.h
Go to the documentation of this file.
1
5
#ifndef SIO_COOKIE_H
6
#define SIO_COOKIE_H
7
8
#include <stdio.h>
9
#include <kernel.h>
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
26
int
ee_sio_start
(u32 baudrate, u8 lcr_ueps, u8 lcr_upen, u8 lcr_usbl, u8 lcr_umode,
int
hook_stdout);
27
32
enum
EE_SIO_START_RETCODES
33
{
34
EESIO_SUCESS = 0,
35
EESIO_COOKIE_OPEN_IS_NULL
,
36
EESIO_BUFFER_ALLOC_IS_NULL
37
};
38
43
extern
FILE *
EE_SIO
;
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#endif
EE_SIO_START_RETCODES
EE_SIO_START_RETCODES
Return values for ee_sio_start.
Definition
SIOCookie.h:33
EESIO_BUFFER_ALLOC_IS_NULL
@ EESIO_BUFFER_ALLOC_IS_NULL
Definition
SIOCookie.h:36
EESIO_COOKIE_OPEN_IS_NULL
@ EESIO_COOKIE_OPEN_IS_NULL
Definition
SIOCookie.h:35
EE_SIO
FILE * EE_SIO
custom stream to print data to the EE serial port. must call ee_sio_start() first to make it work
Definition
SIOCookie.c:15
ee_sio_start
int ee_sio_start(u32 baudrate, u8 lcr_ueps, u8 lcr_upen, u8 lcr_usbl, u8 lcr_umode, int hook_stdout)
initializes both the serial port comunication and the EE_SIO custom stream to print data trough it
Definition
SIOCookie.c:23
siocookie
include
SIOCookie.h
Generated by
1.18.0