libctru  v2.4.1
Functions
cfgnor.h File Reference

CFGNOR service. More...

Go to the source code of this file.

Functions

Result cfgnorInit (u8 value)
 Initializes CFGNOR. More...
 
void cfgnorExit (void)
 Exits CFGNOR.
 
Result cfgnorDumpFlash (u32 *buf, u32 size)
 Dumps the NOR flash. More...
 
Result cfgnorWriteFlash (u32 *buf, u32 size)
 Writes the NOR flash. More...
 
Result CFGNOR_Initialize (u8 value)
 Initializes the CFGNOR session. More...
 
Result CFGNOR_Shutdown (void)
 Shuts down the CFGNOR session.
 
Result CFGNOR_ReadData (u32 offset, u32 *buf, u32 size)
 Reads data from NOR. More...
 
Result CFGNOR_WriteData (u32 offset, u32 *buf, u32 size)
 Writes data to NOR. More...
 

Detailed Description

CFGNOR service.

Function Documentation

◆ CFGNOR_Initialize()

Result CFGNOR_Initialize ( u8  value)

Initializes the CFGNOR session.

Parameters
valueUnknown, usually 1.

◆ CFGNOR_ReadData()

Result CFGNOR_ReadData ( u32  offset,
u32 buf,
u32  size 
)

Reads data from NOR.

Parameters
offsetOffset to read from.
bufBuffer to read data to.
sizeSize of the buffer.

◆ CFGNOR_WriteData()

Result CFGNOR_WriteData ( u32  offset,
u32 buf,
u32  size 
)

Writes data to NOR.

Parameters
offsetOffset to write to.
bufBuffer to write data from.
sizeSize of the buffer.

◆ cfgnorDumpFlash()

Result cfgnorDumpFlash ( u32 buf,
u32  size 
)

Dumps the NOR flash.

Parameters
bufBuffer to dump to.
sizeSize of the buffer.

◆ cfgnorInit()

Result cfgnorInit ( u8  value)

Initializes CFGNOR.

Parameters
valueUnknown, usually 1.

◆ cfgnorWriteFlash()

Result cfgnorWriteFlash ( u32 buf,
u32  size 
)

Writes the NOR flash.

Parameters
bufBuffer to write from.
sizeSize of the buffer.