mirror of
https://github.com/devkitPro/wut.git
synced 2026-04-25 16:20:20 -05:00
59 lines
945 B
C
59 lines
945 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup nsysccr_cfg
|
|
* \ingroup nsysccr
|
|
*
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int32_t
|
|
CCRCFGInit(void);
|
|
|
|
/**
|
|
* Read from the cached Eeprom of the specified device.
|
|
*
|
|
* \param drcSlot
|
|
* The DRC to read the eeprom from (0 or 1).
|
|
*
|
|
* \param offset
|
|
* Offset of the Eeprom data.
|
|
*
|
|
* \return
|
|
* 0 on success.
|
|
*/
|
|
int32_t
|
|
CCRCFGGetCachedEeprom(uint32_t drcSlot,
|
|
uint32_t offset,
|
|
void *buf,
|
|
uint32_t size);
|
|
|
|
/**
|
|
* Write to the cached Eeprom of the specified device.
|
|
*
|
|
* \param drcSlot
|
|
* The DRC to read the eeprom from (0 or 1).
|
|
*
|
|
* \param offset
|
|
* Offset of the Eeprom data.
|
|
*
|
|
* \return
|
|
* 0 on success.
|
|
*/
|
|
int32_t
|
|
CCRCFGSetCachedEeprom(uint32_t drcSlot,
|
|
uint32_t offset,
|
|
void *buf,
|
|
uint32_t size);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|