Security - Renesas FSL-T06 User Manual

Flash self-programming library
Table of Contents

Advertisement

Flash Self-Programming Library
5.3.3
5.3.3.1 FSL_GetSecurityFlags
R01US0046ED Rev. 1.01
User Manual
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
/* Show FSL_StatusCheck usage */
fsl_status_t
status_enu;
/* start some FSL operation (e.g. FSL_Erase ) */
status_enu = FSL_Erase( 3, 20 );
/* Status Check */
#if FSL_STATUS_CHECK == FSL_STATUS_CHECK_USER
while( status_enu == FSL_BUSY )
{
status_enu = FSL_StatusCheck( );
}
#endif
/* Error treatment */
...

Security

Description
Function reads stored security information.
Interface
fsl_status_t FSL_GetSecurityFlags( fsl_u32 *pFlags_pu32 )
Arguments
Type
fsl_u32
pFlags_pu32
Argument
Pointer to buffer of read security
information
FSL_BUSY
FSL_ERR_FLOW
FSL_ERR_ERASE
FSL_ERR_WRITE
FSL_ERR_INTERNAL
Description
User Interface (API)
37

Advertisement

Table of Contents
loading

Table of Contents