English
Language : 

R01US0079ED0103 Datasheet, PDF (41/66 Pages) Renesas Technology Corp – RENESAS 32-Bit MCU
Data Flash Access Library - Type T01, European Release
/* Start Erase operation */
myReq_str_str.command_enu
myReq_str_str.idx_u32
myReq_str_str.cnt_u16
myReq_str_str.accessType_enu
= R_FDL_CMD_ERASE;
= 0;
= 4;
= R_FDL_ACCESS_USER;
R_FDL_Execute (&myReq_str_str);
...
do
{
fdlRet = R_FDL_StandBy ();
}
while (R_FDL_BUSY == fdlRet);
if (R_FDL_OK != fdlRet)
{
/* error handler */
}
...
/* device enters power save mode */
...
...
/* device recovers from power save mode */
...
fdlRet = R_FDL_WakeUp ();
if (R_FDL_OK != fdlRet)
{
/* error handler */
}
/* Finish erase command */
while (myReq_str_str.status_enu == R_FDL_BUSY)
{
R_FDL_Handler ();
}
if (R_FDL_OK != myReq_str_str.status_enu)
{
/* Error handler */
while (1)
;
}
4.4.3.4 R_FDL_WakeUp
Outline: This function wakes-up the library from Stand-by.
Interface: C Interface
r_fdl_status_t R_FDL_WakeUp (void);
R01US0079ED0103
User Manual
User Interface (API)
41