EPD Display
1.0.0
Library and application for EPD smart displays
|
Representation of the needed data structures. More...
#include <stdio.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | DisplaySize_t |
Display setup. More... | |
struct | PAINT |
Paint Struct. More... | |
struct | _tFont |
Font struct. More... | |
struct | PAINT_TIME |
Typedefs | |
typedef struct _tFont | sFONT |
Font struct. More... | |
Enumerations | |
enum | MIRROR_IMAGE { MIRROR_NONE = 0x00, MIRROR_HORIZONTAL = 0x01, MIRROR_VERTICAL = 0x02, MIRROR_ORIGIN = 0x03 } |
enum | DOT_PIXEL { DOT_PIXEL_1X1 = 1, DOT_PIXEL_2X2, DOT_PIXEL_3X3, DOT_PIXEL_4X4, DOT_PIXEL_5X5, DOT_PIXEL_6X6, DOT_PIXEL_7X7, DOT_PIXEL_8X8 } |
enum | DOT_STYLE { DOT_FILL_AROUND = 1, DOT_FILL_RIGHTUP } |
enum | LINE_STYLE { LINE_STYLE_SOLID = 0, LINE_STYLE_DOTTED } |
enum | DRAW_FILL { DRAW_FILL_EMPTY = 0, DRAW_FILL_FULL } |
Variables | |
sFONT | Font24 |
sFONT | Font20 |
sFONT | Font16 |
sFONT | Font12 |
sFONT | Font8 |
Representation of the needed data structures.
#define ACTIVE_PROGRAM 0xA1 |
#define ARRAY_LEN 255 |
Setting definition
#define AUTO_MEASURE_VCOM 0x80 |
#define BLACK 0x00 |
#define BOOSTER_SOFT_START 0x06 |
#define DATA_START_TRANSMISSION_1 0x10 |
#define DATA_START_TRANSMISSION_2 0x13 |
#define DATA_STOP 0x11 |
#define DEEP_SLEEP 0x07 |
#define DISPLAY_REFRESH 0x12 |
#define DOT_PIXEL_DFT DOT_PIXEL_1X1 |
#define DOT_STYLE_DFT DOT_FILL_AROUND |
#define FONT_BACKGROUND WHITE |
#define FONT_FOREGROUND BLACK |
#define GET_STATUS 0x71 |
#define GRAY1 0x03 |
#define GRAY2 0x02 |
#define GRAY3 0x01 |
#define GRAY4 0x00 |
#define IMAGE_BACKGROUND WHITE |
#define LOW_POWER_DETECTION 0x51 |
#define LUT_COLOR_1 0x21 |
#define LUT_COLOR_2 0x22 |
#define LUT_COLOR_3_1 0x23 |
#define LUT_COLOR_3_2 0x24 |
#define LUT_COLOR_4_1 0x25 |
#define LUT_COLOR_4_2 0x26 |
#define LUT_COLOR_4_3 0x27 |
#define LUT_COLOR_4_4 0x28 |
#define LUT_FOR_VCOM 0x20 |
#define LUT_XON 0x29 |
#define MIRROR_IMAGE_DFT MIRROR_NONE |
#define PANEL_SETTING 0x00 |
#define PARTIAL_DATA_START_TRANSMISSION_1 0x14 |
#define PARTIAL_DATA_START_TRANSMISSION_2 0x15 |
#define PARTIAL_DISPLAY_REFRESH 0x16 |
#define PARTIAL_IN 0x91 |
#define PARTIAL_OUT 0x92 |
#define PARTIAL_WINDOW 0x90 |
#define PLL_CONTROL 0x30 |
#define POWER_OFF 0x02 |
#define POWER_OFF_SEQUENCE_SETTING 0x03 |
#define POWER_ON 0x04 |
#define POWER_ON_MEASURE 0x05 |
#define POWER_SAVING 0xE3 |
#define POWER_SETTING 0x01 |
#define PROGRAM_MODE 0xA0 |
#define READ_OTP_DATA 0xA2 |
#define RED BLACK |
#define ROTATE_0 0 |
Display rotate.
#define ROTATE_180 180 |
#define ROTATE_270 270 |
#define ROTATE_90 90 |
#define SET_RAM_X_ADDRESS_COUNTER 0x4E |
#define SET_RAM_X_ADDRESS_START_END_POSITION 0x44 |
#define SET_RAM_Y_ADDRESS_COUNTER 0x4F |
#define SET_RAM_Y_ADDRESS_START_END_POSITION 0x45 |
#define SOURCE_AND_GATE_START_SETTING 0x62 |
#define TCON_RESOLUTION 0x61 |
#define TCON_SETTING 0x60 |
#define TEMPERATURE_SENSOR_CALIBRATION 0x41 |
#define TEMPERATURE_SENSOR_COMMAND 0x40 |
#define TEMPERATURE_SENSOR_READ 0x43 |
#define TEMPERATURE_SENSOR_WRITE 0x42 |
#define TERMINATE_FRAME_READ_WRITE 0xFF |
#define VCM_DC_SETTING_REGISTER 0x82 |
#define VCOM_AND_DATA_INTERVAL_SETTING 0x50 |
#define VCOM_VALUE 0x81 |
#define WHITE 0xFF |
image color
enum DOT_PIXEL |
enum DOT_STYLE |
enum DRAW_FILL |
enum LINE_STYLE |
enum MIRROR_IMAGE |
sFONT Font12 |
sFONT Font16 |
sFONT Font20 |
sFONT Font24 |
sFONT Font8 |