Renesas FSL-T06 User Manual page 55

Flash self-programming library
Table of Contents

Advertisement

Flash Self-Programming Library
5.3.4.11
5.3.4.12
R01US0046ED Rev. 1.01
User Manual
FSL_GetID
Description
Function reads the current ID data information (12 bytes).
Interface
fsl_status_t FSL_GetID( fsl_u08 *pID_pu08 )
Arguments
Type
fsl_u08
pID_pu08
Return types / values
Type
fsl_status_t
fsl_u08
pID_pu08
Pre-conditions
Library must be initialized (call function FSL_Init), copied (call function
FSL_CopySections) and active (call function FSL_FlashEnv_Activate).
Additionally the library must be informed about FBUS clock by using function
FSL_SetFrequency.
Post-conditions
None
Example
/* Read ID */
fsl_status_t
status_enu;
fsl_u08
id_u08[12];
status_enu = FSL_GetID( &id_u08[0] );
/* Error treatment */
...
FSL_SetID
Description
Function writes new ID settings (12 bytes) into the extra area.
Interface
fsl_status_t FSL_SetID( fsl_u08 *pID_pu08 )
Argument
Pointer to buffer of read ID
Argument
Function return values:
Pointer to buffer filled with ID
Description
Description
FSL_OK
FSL_ERR_FLOW
FSL_ERR_PARAMETER
User Interface (API)
55

Advertisement

Table of Contents
loading

Table of Contents