Copyright (c) 2012-2014 Pervasive Displays Inc.
All rights reserved.
#include "Pervasive_Displays_small_EPD.h"
Functions | |
void | EPD_display_from_flash (uint8_t EPD_type_index, long previous_image_address, long new_image_address, EPD_read_flash_handler On_EPD_read_flash) |
Show image from Flash memory. More... | |
void | EPD_display_from_flash_Ex (uint8_t EPD_type_index, long previous_image_address, long new_image_address, EPD_read_flash_handler On_EPD_read_flash) |
Show image from Flash memory when SPI is common used with COG and Flash. More... | |
void | EPD_display_from_pointer (uint8_t EPD_type_index, uint8_t *previous_image_ptr, uint8_t *new_image_ptr) |
Show image from the pointer of memory array. More... | |
void | EPD_display_init (void) |
Initialize the EPD hardware setting. More... | |
void | EPD_power_init (uint8_t EPD_type_index) |
Initialize the EPD hardware setting and COG driver. More... | |
void EPD_display_from_flash | ( | uint8_t | EPD_type_index, |
long | previous_image_address, | ||
long | new_image_address, | ||
EPD_read_flash_handler | On_EPD_read_flash | ||
) |
Show image from Flash memory.
EPD_type_index | The defined EPD size |
previous_image_address | The address of memory that stores previous image |
new_image_address | The address of memory that stores new image |
On_EPD_read_flash | Developer needs to create an external function to read flash |
References EPD_display_from_flash_prt(), EPD_init(), EPD_initialize_driver(), EPD_power_off(), and EPD_power_on().
void EPD_display_from_flash_Ex | ( | uint8_t | EPD_type_index, |
long | previous_image_address, | ||
long | new_image_address, | ||
EPD_read_flash_handler | On_EPD_read_flash | ||
) |
Show image from Flash memory when SPI is common used with COG and Flash.
EPD_type_index | The defined EPD size |
previous_image_address | The address of memory that stores previous image |
new_image_address | The address of memory that stores new image |
On_EPD_read_flash | Developer needs to create an external function to read flash |
References EPD_display_from_flash_prt(), and EPD_power_off().
void EPD_display_from_pointer | ( | uint8_t | EPD_type_index, |
uint8_t * | previous_image_ptr, | ||
uint8_t * | new_image_ptr | ||
) |
Show image from the pointer of memory array.
EPD_type_index | The defined EPD size |
previous_image_ptr | The pointer of memory that stores previous image |
new_image_ptr | The pointer of memory that stores new image |
References EPD_display_from_array_prt(), EPD_init(), EPD_initialize_driver(), EPD_power_off(), and EPD_power_on().
Referenced by main().
void EPD_display_init | ( | void | ) |
void EPD_power_init | ( | uint8_t | EPD_type_index | ) |
Initialize the EPD hardware setting and COG driver.
EPD_type_index | The defined EPD size |
References EPD_init(), EPD_initialize_driver(), and EPD_power_on().