Datasheet
11
A variable that indicates that we are updating the display.
uint8_t updateType
The display waveform to use to update the display.
uint8_t einkNextDir
Next direction of drive. 0 is forward. 1 is reverse. (when driving the lines directly from the MCU pins)
Detailed Description
Description: This file contains all the externalally defined variables that may be needed through out the
project.
Filename: extern.h
Creation Date: October 31, 2012
Author: O. Raut
REVISION HISTORY:
Modified: -------
Date: -----------
Reason: ---------------
C:/Users/oraut/Documents/Workspace/Renesas/EInkDriverFinal/YLPD
SKRL78EINK/user_src/EInkDriverFiles/rEInkDriver.c File Reference
Description: C file that contains the state machine and functions required to control the EInk display screen using a
Renesas microcontroller.
#include "rEInkInclude.h"
Functions
void ClearDisplay (uint8_t dir)
Set up the display array to blank.
void initEInkHardware (void)
Initializes the required peripherals; i.e. Output pin segments and peripheral timer. This function is part of the
Hardware abstraction layer.
void SetOutput (uint8_t *newData, uint8_t dir, uint8_t topPlane)
This function sets the actual values of the segments. This function is part of the Hardware abstraction layer.
static void ChangeEinkState (uint8_t next)
This function changes the current state of the FSM to the one indicated in the argument.
static void UpdateScreen (void)
This function is called through the Finite state machine to manage the toggling of each pin connected to the
EInk segmented display screens.
void einkDriver (void)
Finite state machine, called each time thru main. Used to update and keep the screen in check.