sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
fls.h File Reference

Go to the source code of this file.

Classes

struct  flash_info_t

Macros

#define fls_IMPORTS_start   DECLARE_IMPORT_TABLE(fls, 1, 1)
#define fls_IMPORTS_end   END_IMPORT_TABLE
#define I_flash_detect   DECLARE_IMPORT(4, flash_detect)
#define I_flash_device_reset   DECLARE_IMPORT(5, flash_device_reset)
#define I_flash_get_info   DECLARE_IMPORT(6, flash_get_info)
#define I_flash_page_erase   DECLARE_IMPORT(7, flash_page_erase)
#define I_flash_page_read   DECLARE_IMPORT(8, flash_page_read)
#define I_flash_page_write   DECLARE_IMPORT(9, flash_page_write)

Functions

int flash_detect (void)
int flash_device_reset (void)
int flash_get_info (flash_info_t *info)
int flash_page_erase (flash_info_t *info, u32 page)
int flash_page_read (flash_info_t *info, u32 page, u32 count, void *buf)
int flash_page_write (flash_info_t *info, u32 page, void *buf)

Detailed Description

Expansion bay flash driver. Supported in ROM in SCPH-5xxxx models and integrated in DESR-xxxx models.

Definition in file fls.h.

Macro Definition Documentation

◆ fls_IMPORTS_end

#define fls_IMPORTS_end   END_IMPORT_TABLE

Definition at line 37 of file fls.h.

◆ fls_IMPORTS_start

#define fls_IMPORTS_start   DECLARE_IMPORT_TABLE(fls, 1, 1)

Definition at line 36 of file fls.h.

◆ I_flash_detect

#define I_flash_detect   DECLARE_IMPORT(4, flash_detect)

Definition at line 39 of file fls.h.

◆ I_flash_device_reset

#define I_flash_device_reset   DECLARE_IMPORT(5, flash_device_reset)

Definition at line 40 of file fls.h.

◆ I_flash_get_info

#define I_flash_get_info   DECLARE_IMPORT(6, flash_get_info)

Definition at line 41 of file fls.h.

◆ I_flash_page_erase

#define I_flash_page_erase   DECLARE_IMPORT(7, flash_page_erase)

Definition at line 42 of file fls.h.

◆ I_flash_page_read

#define I_flash_page_read   DECLARE_IMPORT(8, flash_page_read)

Definition at line 43 of file fls.h.

◆ I_flash_page_write

#define I_flash_page_write   DECLARE_IMPORT(9, flash_page_write)

Definition at line 44 of file fls.h.

Function Documentation

◆ flash_detect()

int flash_detect ( void )
extern

Definition at line 77 of file extflash.c.

◆ flash_device_reset()

int flash_device_reset ( void )
extern

Definition at line 99 of file extflash.c.

◆ flash_get_info()

int flash_get_info ( flash_info_t * info)
extern

Definition at line 134 of file extflash.c.

◆ flash_page_erase()

int flash_page_erase ( flash_info_t * info,
u32 page )
extern

Definition at line 193 of file extflash.c.

◆ flash_page_read()

int flash_page_read ( flash_info_t * info,
u32 page,
u32 count,
void * buf )
extern

Definition at line 239 of file extflash.c.

◆ flash_page_write()

int flash_page_write ( flash_info_t * info,
u32 page,
void * buf )
extern

Definition at line 311 of file extflash.c.