/dev/bsp/EE

From WiiUBrew
< /dev | bsp
Jump to navigation Jump to search

/bsp/EE is the BSP entity that handles the EEPROM.

Attributes

access

Only available if control has been initialised and access is enabled. IOSU utilises the access attribute to read and write to the EEPROM in 2-byte sets. Higher level EEPROM read/write functions consecutively operate on 2-byte sections a provided number of times to interact with larger sections of data.

Permissions: BSP_PERMISSIONS_IOS_SUPV

Method Data Size Description
Read 0x2 Reads a determined 2-bytes of the EEPROM.
Write 0x2 Writes a determined 2-bytes of the EEPROM.

control

Permissions: BSP_PERMISSIONS_IOS_SUPV

Method Data Size Values Description
Write 0x4 0, 1 Disables EEPROM access when input is 0, enables when 1.
Init 0x4 Initialises EEPROM control.
Shutdown 0x4 Shuts down EEPROM control.

bc

The bc attribute refers to BoardConfig. As with access, it is only available if control has been initialised and access enabled.

Permissions: BSP_PERMISSIONS_IOS

Method Data Size Description
Read 0x28 Gets the BoardConfig section of the EEPROM.