English
Language : 

R01US0079ED0103 Datasheet, PDF (32/66 Pages) Renesas Technology Corp – RENESAS 32-Bit MCU
Data Flash Access Library - Type T01, European Release
User Interface (API)
Administration:
 R_FDL_GetVersionString
The following sub-chapters describe the Flash operations that can be initiated and controlled by the
library. The operations are initiated by a library function R_FDL_Execute and later on controlled by the
library function R_FDL_Handler.
All FDL interface functions are prototyped in the header file r_fdl.h.
4.4.1 Initialization
4.4.1.1 R_FDL_Init
Outline: Initialization of the Data Flash Access Library.
Interface: C Interface
r_fdl_status_t R_FDL_Init (const r_fdl_descriptor_t * descriptor_pstr);
Arguments: Parameters
Argument
descriptor_pstr
Type
Access
Description
r_fdl_descriptor_t * R
FDL configuration descriptor (see
section 4.3.2 “r_fdl_request_t”)
Return value
Type
r_fdl_status_t
Description
 R_FDL_OK
Operation finished successfully.
 R_FDL_ERR_CONFIGURATION
Wrong parameters have been passed to the FDL:
 Descriptor address is NULL
 FDL-pool is zero
 EEL-pool ends beyond FDL-pool edge
 Specified CPU clock is outside limits for this device
 R_FDL_ERR_INTERNAL
Initialization failed due to various factors (insufficient stack
space, unknown hardware or software issues)
Pre- Interrupt execution shall be disabled for a brief time during execution of this function. This
conditions: must either be done in advance by the user, or the user must properly configure provided
callback macro functions in fdl_cfg.h (see description and example below).
Post- None
conditions:
R01US0079ED0103
32
User Manual