Paperd.Ink Library 0.0.5
Library for interacting with Paperd.Ink devices.
Loading...
Searching...
No Matches
GxEPD2_it60.cpp File Reference
#include "GxEPD2_it60.h"

Go to the source code of this file.

Macros

#define VCOM   1500
 
#define IT8951_TCON_SYS_RUN   0x0001
 
#define IT8951_TCON_STANDBY   0x0002
 
#define IT8951_TCON_SLEEP   0x0003
 
#define IT8951_TCON_REG_RD   0x0010
 
#define IT8951_TCON_REG_WR   0x0011
 
#define IT8951_TCON_LD_IMG   0x0020
 
#define IT8951_TCON_LD_IMG_AREA   0x0021
 
#define IT8951_TCON_LD_IMG_END   0x0022
 
#define USDEF_I80_CMD_DPY_AREA   0x0034
 
#define USDEF_I80_CMD_GET_DEV_INFO   0x0302
 
#define USDEF_I80_CMD_DPY_BUF_AREA   0x0037
 
#define USDEF_I80_CMD_VCOM   0x0039
 
#define IT8951_ROTATE_0   0
 
#define IT8951_ROTATE_90   1
 
#define IT8951_ROTATE_180   2
 
#define IT8951_ROTATE_270   3
 
#define IT8951_2BPP   0
 
#define IT8951_3BPP   1
 
#define IT8951_4BPP   2
 
#define IT8951_8BPP   3
 
#define IT8951_LDIMG_L_ENDIAN   0
 
#define IT8951_LDIMG_B_ENDIAN   1
 
#define SYS_REG_BASE   0x0000
 
#define I80CPCR   (SYS_REG_BASE + 0x04)
 
#define MCSR_BASE_ADDR   0x0200
 
#define LISAR   (MCSR_BASE_ADDR + 0x0008)
 

Macro Definition Documentation

◆ I80CPCR

#define I80CPCR   (SYS_REG_BASE + 0x04)

Definition at line 54 of file GxEPD2_it60.cpp.

◆ IT8951_2BPP

#define IT8951_2BPP   0

Definition at line 44 of file GxEPD2_it60.cpp.

◆ IT8951_3BPP

#define IT8951_3BPP   1

Definition at line 45 of file GxEPD2_it60.cpp.

◆ IT8951_4BPP

#define IT8951_4BPP   2

Definition at line 46 of file GxEPD2_it60.cpp.

◆ IT8951_8BPP

#define IT8951_8BPP   3

Definition at line 47 of file GxEPD2_it60.cpp.

◆ IT8951_LDIMG_B_ENDIAN

#define IT8951_LDIMG_B_ENDIAN   1

Definition at line 51 of file GxEPD2_it60.cpp.

◆ IT8951_LDIMG_L_ENDIAN

#define IT8951_LDIMG_L_ENDIAN   0

Definition at line 50 of file GxEPD2_it60.cpp.

◆ IT8951_ROTATE_0

#define IT8951_ROTATE_0   0

Definition at line 38 of file GxEPD2_it60.cpp.

◆ IT8951_ROTATE_180

#define IT8951_ROTATE_180   2

Definition at line 40 of file GxEPD2_it60.cpp.

◆ IT8951_ROTATE_270

#define IT8951_ROTATE_270   3

Definition at line 41 of file GxEPD2_it60.cpp.

◆ IT8951_ROTATE_90

#define IT8951_ROTATE_90   1

Definition at line 39 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_LD_IMG

#define IT8951_TCON_LD_IMG   0x0020

Definition at line 27 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_LD_IMG_AREA

#define IT8951_TCON_LD_IMG_AREA   0x0021

Definition at line 28 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_LD_IMG_END

#define IT8951_TCON_LD_IMG_END   0x0022

Definition at line 29 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_REG_RD

#define IT8951_TCON_REG_RD   0x0010

Definition at line 25 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_REG_WR

#define IT8951_TCON_REG_WR   0x0011

Definition at line 26 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_SLEEP

#define IT8951_TCON_SLEEP   0x0003

Definition at line 24 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_STANDBY

#define IT8951_TCON_STANDBY   0x0002

Definition at line 23 of file GxEPD2_it60.cpp.

◆ IT8951_TCON_SYS_RUN

#define IT8951_TCON_SYS_RUN   0x0001

Definition at line 22 of file GxEPD2_it60.cpp.

◆ LISAR

#define LISAR   (MCSR_BASE_ADDR + 0x0008)

Definition at line 56 of file GxEPD2_it60.cpp.

◆ MCSR_BASE_ADDR

#define MCSR_BASE_ADDR   0x0200

Definition at line 55 of file GxEPD2_it60.cpp.

◆ SYS_REG_BASE

#define SYS_REG_BASE   0x0000

Definition at line 53 of file GxEPD2_it60.cpp.

◆ USDEF_I80_CMD_DPY_AREA

#define USDEF_I80_CMD_DPY_AREA   0x0034

Definition at line 32 of file GxEPD2_it60.cpp.

◆ USDEF_I80_CMD_DPY_BUF_AREA

#define USDEF_I80_CMD_DPY_BUF_AREA   0x0037

Definition at line 34 of file GxEPD2_it60.cpp.

◆ USDEF_I80_CMD_GET_DEV_INFO

#define USDEF_I80_CMD_GET_DEV_INFO   0x0302

Definition at line 33 of file GxEPD2_it60.cpp.

◆ USDEF_I80_CMD_VCOM

#define USDEF_I80_CMD_VCOM   0x0039

Definition at line 35 of file GxEPD2_it60.cpp.

◆ VCOM

#define VCOM   1500

Definition at line 19 of file GxEPD2_it60.cpp.