Download RL78 EEPROM Emulation Library Type T02 (Tiny)

Transcript
EEPROM Emulation Library - Type T02 (Tiny), European Release
Application Programming Interface (API)
4.1.5 eel_request_t
Type
definition:
typedef struct
{
__near eel_u08*
eel_u08
eel_command_t
eel_status_t
} eel_request_t;
address_pu08;
identifier_u08;
command_enu;
status_enu;
Description: The structured type eel_request_t defines the structure of EEL request variables. It is the
central type for the request-response-oriented dialog for the execution of commands (see
Section 3.1.3). Not every element of this structure is required for each command.
However, all members of the request variable must be initialized once before usage.
Please refer to Section 4.3 for a more detailed description and the command-specific
usage of the structure elements.
Please note that any variable of the type eel_request_t needs to be located at an even
address.
Note:
The GNU compiler does not require the “__near” keyword to declare near pointers. All
pointers are near by default as long as the “__far” keyword is not used.
Member /
Value:
Member / Value
Description
address_pu08
source/destination RAM-address
identifier_u08
variable identifier
command_enu
command to be processed (see Section 4.1.2)
status_enu
status/error code after command execution (see
Section 4.1.4)
R01US0070ED0105
User Manual
32