English
Language : 

R01US0068EJ0100 Datasheet, PDF (41/56 Pages) Renesas Technology Corp – EEPROM Emulation Library
RL78 Family
EEPROM Emulation Library Pack02
EEL_Execute
Chapter 5 User Interface
[Function]
EEPROM emulation execution function
Each type of processing for performing EEPROM emulation operations is specified for this function as an
argument in the command format, and the processing is executed.
[Format]
<C language>
void __far EEL_Execute(__near eel_request_t* request_pstr);
<Assembler>
CALL !EEL_Execute or CALL !!EEL_Execute
Remark Call this function by using ! if placing the EEL at 00000H to 0FFFFH or by using !! if not.
[Pre-conditions]
The FDL_Init, FDL_Open and EEL_Init, EEL_Open functions must have finished normally.
[Post-conditions]
1. While status_enu of the request structure (eel_request_t) is EEL_BUSY, execute the EEL_Handler function
repeatedly.
2. The EEL_Execute function starts command processing and then immediately returns the control to the user
program. The command processing is continued by executing the EEL_Handler function. Therefore, the
EEL_Handler function must be executed continuously until the command processing is completed.
[Cautions]
None
[Register status after calling this function]
Corrupted register: AX (argument)
[Arguments]
Argument
request_pstr
Type
eel_request_t* (near)
Description
Pointer to the request structure (eel_request_t)
Member
eel_request_t.address_pu08
eel_request_t.identifier_u08
eel_request_t.command_enu
eel_request_t.status_enu
eel_request_t Details
Type
Description
eel_u08 *
(near)
eel_u08
eel_command_t
eel_status_t
Pointer to the data buffer for storing write and read
data Note
Parameter for setting command to be executed
Command to be executed
Command execution status
Note: Specify this parameter only for a command that requires the parameter. Set up the data buffer size according
to the byte sizes of the write and read data.
R01US0068EJ0100 Rev.1.00
Mar. 28, 2014
Page 41 of 53