sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
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
12extern "C" {
13#endif
14
26int ee_sio_start(u32 baudrate, u8 lcr_ueps, u8 lcr_upen, u8 lcr_usbl, u8 lcr_umode, int hook_stdout);
27
38
43extern FILE *EE_SIO;
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif
EE_SIO_START_RETCODES
Return values for ee_sio_start.
Definition SIOCookie.h:33
@ EESIO_BUFFER_ALLOC_IS_NULL
Definition SIOCookie.h:36
@ EESIO_COOKIE_OPEN_IS_NULL
Definition SIOCookie.h:35
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
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