English
Language : 

R01US0079ED0103 Datasheet, PDF (15/66 Pages) Renesas Technology Corp – RENESAS 32-Bit MCU
Data Flash Access Library - Type T01, European Release
User application
FDL
R_FDL_Execute (Erase 2 blocks)
R_FDL_BUSY
R_FDL_Handler
R_FDL_BUSY
R_FDL_Handler
R_FDL_BUSY
...
R_FDL_Handler
R_FDL_BUSY
R_FDL_Handler
R_FDL_BUSY
R_FDL_Handler
R_FDL_BUSY
...
Start erase blk 1
Check (Busy)
Check (Busy)
Check (Ready)
Start erase blk 2
Check (Busy)
Check (Busy)
R_FDL_Handler
R_FDL_OK
Check (Ready)
Figure 3: Flash erase sequence
Functional Specifications
Data Flash
programming
hardware
Erase 1 block
Erase next block
3.2 Request-response oriented dialog
The FDL utilizes request-response architecture in order to initiate the commands. This means any
"requester" (any tasks in the user application) has to fill a request structure and pass it by reference to the
Data Flash Access Library using R_FDL_Execute function. The FDL interprets the content of the request
variable, checks its plausibility and initiates the execution. The feedback is reflected immediately to the
requester via the status member (status_enu) of the same request structure. The completion of an
accepted request/command is done by calling R_FDL_Handler periodically as long as the request
remains "busy".
R01US0079ED0103
15
User Manual