English
Language : 

R01US0068EJ0100 Datasheet, PDF (31/56 Pages) Renesas Technology Corp – EEPROM Emulation Library
RL78 Family
EEPROM Emulation Library Pack02
Chapter 5 User Interface
Chapter 5 User Interface
5. 1 Request Structure (eel_request_t) Settings
Basic operations such as reading from and writing to the data flash are performed by a single function. The
function transfers commands and data ID to the EEL via the request structure (eel_request_t). Furthermore, the
EEL state and error information are acquired via the request structure (eel_request_t).
In subsequent sections, write access to the request structure (eel_request_t) from the user is called user write
access, and read access to it from the user is called user read access.
Figure 5-1 Request Structure (eel_request_t)
User Program
User write access
User read access
address_pu08
identifier_u08
command_enu
status_enu
EEL
The request structure (eel_request_t) is defined in the eel_types.h file. It should not be changed by the user.
[Definition of the request structure (eel_request_t)]
typedef struct
{
__near eel_u08*
address_pu08;
eel_u08
identifier_u08;
eel_command_t command_enu;
eel_status_t status_enu;
} eel_request_t;
R01US0068EJ0100 Rev.1.00
Mar. 28, 2014
Page 31 of 53