English
Language : 

R01US0079ED0103 Datasheet, PDF (44/66 Pages) Renesas Technology Corp – RENESAS 32-Bit MCU
Data Flash Access Library - Type T01, European Release
User Interface (API)
4.5 Commands
The following sub-chapters describe the Flash operations that can be initiated and controlled by the
library.
In general, all FDL commands can be handled in the same way as illustrated in Figure 13:
1. The requester fills up the private request variable my_request (command definition).
2. The requester tries to initiate the command execution by R_FDL_Execute(&my_request).
3. The requester has to call R_FDL_Handler to proceed the FDL command execution as long the
request is being processed (i.e. my_request.status_enu == R_FDL_BUSY).
4. After finishing the command (i.e. my_request.status_enu != R_FDL_BUSY) the requester
has to analyse the status to detect potential errors.
start command execution
R_FDL_Handler()
fill request variable
my_request
1
R_FDL_Execute
(&my_request)
2
other user application
processing
R_FDL_BUSY
my_request.status_enu ?
3
<other>
my_request.status_enu ?
4
R_FDL_OK
<other>
error handling
end of command execution
Figure 13: Generic command execution flow
R01US0079ED0103
44
User Manual