English
Language : 

R01US0068EJ0100 Datasheet, PDF (38/56 Pages) Renesas Technology Corp – EEPROM Emulation Library
RL78 Family
EEPROM Emulation Library Pack02
EEL_Init
Chapter 5 User Interface
[Function]
Processing to initialize the RAM used for EEPROM emulation
[Format]
<C language>
eel_status_t __far EEL_Init (void)
<Assembler>
CALL !EEL_Init or CALL !!EEL_Init
Remark Call this function by using ! if placing the EEL at 00000H to 0FFFFH or by using !! if not.
[Pre-conditions]
1. The FSL and the EEL processing must be either not executing or finished.
2. The FDL_Init and FDL_Open function must have finished normally.
[Post-conditions]
Execute the EEL_Open function.
[Cautions]
1. When starting EEPROM emulation, always execute this function to initialize the RAM to be used.
2. This function is mutually exclusive with FSL. Before executing this function, be sure to close FSL. Also, never
use any FSL functions during EEPROM emulation.
3. To use FSL after this function is executed, the RAM must be reinitialized, so always execute this function
when restarting EEL.
4. To execute this function again, always close EEL.
[Register status after calling this function]
Return values: C
[Arguments]
None
[Return values]
Type
eel_status_t
Symbol Definition
Description
EEL_OK
Normal end
EEL_ERR_CONFIGURATION Initialization error. The EEL cannot be executed with the
values set by the FDL_Init and EEL_Init functions.
Check the current setting referring to section 4.3, Initial
Values to be set by User.
Remark Assembly language return values are stored in register C.
R01US0068EJ0100 Rev.1.00
Mar. 28, 2014
Page 38 of 53