Datasheet

16
C:/Users/oraut/Documents/Workspace/Renesas/EInkDriverFinal/YLPD
SKRL78EINK/user_src/presentation/rPresentation.h File Reference
Description:This file is the header file for the presentation layer of the EInk driver. Calling the function
displayInZone is not necessary and the driver is independent of the same.
Classes
struct einkScreenDef
Structure for holding organized information about the EInk display screen.
Defines
#define FORMAT_ACTION (0xF0)
A macro that list the actions to be performed on the arguement passed to the function for the purpose of being
displayed. Refer function displayInZone().
#define FORMAT_RETAIN_OTHER (0x20)
Foramtting option that specifies that the status of the other segments should be maintained.
#define FORMAT_LZ_BLANK (0x40)
Foramtting option that specifies that all leading zeros within the string must be set to the value LCD_BLANK.
#define LCD_BLANK (27)
This preprocessor definition defines the index in the hexadecimal encoding look-up-table to use when blanking
a character.
#define NUM_MAPPINGS (4)
This preprocessor definition defines the total number of hexadecimal encoding maps available to the
presentation layer.
Enumerations
enum { NO_ERR = 0, ERR_NO_BYTES_IN_DISPLAY_BUFFER,
ERR_NO_HEXENCODING_AVAILABLE }
Functions
uint8_t displayInZone (uint8_t zone, uint8_t *str, uint8_t count, struct einkScreenDef *thisScreen)
This function is part of the presentation layer for the EInk Segmented display driver. It is responsible for setting
up the next segments to turn ON or OFF by using screen definitions and information. This function cannot
handle floating point instructions, however, there is a preprocessor statement which can be turned on to handle
the same. Note that an updateRequest is not made through this function.
Detailed Description
Description:This file is the header file for the presentation layer of the EInk driver. Calling the function
displayInZone is not necessary and the driver is independent of the same.
Filename: rEInkPresentation.h
Creation Date: October 31, 2012
Author: O. Raut