wut  v1.5.0
Wii U Toolchain
Functions
Nsysccr_cfg
Collaboration diagram for Nsysccr_cfg:

Functions

int32_t CCRCFGInit (void)
 
int32_t CCRCFGGetCachedEeprom (uint32_t drcSlot, uint32_t offset, void *buf, uint32_t size)
 Read from the cached Eeprom of the specified device. More...
 
int32_t CCRCFGSetCachedEeprom (uint32_t drcSlot, uint32_t offset, void *buf, uint32_t size)
 Write to the cached Eeprom of the specified device. More...
 
int32_t CCRCFGGetVersionCheckFlag (uint32_t *outFlag)
 Get the version check flag. More...
 
int32_t CCRCFGSetVersionCheckFlag (uint32_t flag)
 Set the version check flag. More...
 

Detailed Description

Function Documentation

◆ CCRCFGInit()

int32_t CCRCFGInit ( void  )

◆ CCRCFGGetCachedEeprom()

int32_t CCRCFGGetCachedEeprom ( uint32_t  drcSlot,
uint32_t  offset,
void *  buf,
uint32_t  size 
)

Read from the cached Eeprom of the specified device.

Parameters
drcSlotThe DRC to read the eeprom from (0 or 1).
offsetOffset of the Eeprom data.
Returns
0 on success.

◆ CCRCFGSetCachedEeprom()

int32_t CCRCFGSetCachedEeprom ( uint32_t  drcSlot,
uint32_t  offset,
void *  buf,
uint32_t  size 
)

Write to the cached Eeprom of the specified device.

Parameters
drcSlotThe DRC to read the eeprom from (0 or 1).
offsetOffset of the Eeprom data.
Returns
0 on success.

◆ CCRCFGGetVersionCheckFlag()

int32_t CCRCFGGetVersionCheckFlag ( uint32_t *  outFlag)

Get the version check flag.

Parameters
outFlagPointer to write the flag to.
Returns
0 on success.

◆ CCRCFGSetVersionCheckFlag()

int32_t CCRCFGSetVersionCheckFlag ( uint32_t  flag)

Set the version check flag.

Parameters
outFlagThe flag to set.
Returns
0 on success.