15 #define ST7735R_RET_OK 0 16 #define ST7735R_RET_FAIL 0 18 #define ST7735R_SPI_TIMEOUT 100 ST7735R_Return ST7735R_Write_Data(struct ST7735R *self, uint8_t *data, uint8_t size)
Write data to RAM on device.
static uint8_t ST7735R_DISPOFF_CMD
DISPOFF command.
static uint8_t ST7735R_RASET_CMD
RASET command.
static uint8_t ST7735R_RDID2_CMD
RDID2 command.
static uint8_t ST7735R_TEON_CMD
TEON command.
static uint8_t ST7735R_SLPOUT_CMD
SLPOUT command.
void ST7735R_CS_Low(void)
Bring low SPI1 CS pin.
static uint8_t ST7735R_PTLAR_CMD
PTLAR command.
static uint8_t ST7735R_CASET_CMD
CASET command.
static uint8_t ST7735R_RDDSM_CMD
RDDSM command.
static uint8_t ST7735R_INVON_CMD
INVON command.
static uint8_t ST7735R_INVOFF_CMD
INVOFF command.
static uint8_t ST7735R_RGBSET_CMD
RGBSET command.
static uint8_t ST7735R_RDDPM_CMD
RDDPM command.
static uint8_t ST7735R_DISPON_CMD
DISPON command.
static uint8_t ST7735R_NOP_CMD
NOP command.
static uint8_t ST7735R_RDDCOLMOD_CMD
RDDCOLMOD command.
static uint8_t ST7735R_NORON_CMD
NORON command.
ST7735R_Return ST7735R_Backlight_Off(struct ST7735R *self)
Turn backlight off.
static uint8_t ST7735R_COLMOD_CMD
COLMOD command.
static uint8_t ST7735R_RDDID_CMD
RDDID command.
static uint8_t ST7735R_IDMOFF_CMD
IDMOFF command.
ST7735R_Return ST7735R_Write_Command(struct ST7735R *self, uint8_t cmd)
Write command on device.
static uint8_t ST7735R_PTLON_CMD
PTLON command.
static uint8_t ST7735R_SWRESET_CMD
SWRESET command.
static uint8_t ST7735R_RAMWR_CMD
RAMWR command.
static uint8_t ST7735R_RDDST_CMD
RDDST command.
static uint8_t ST7735R_SLPIN_CMD
SLPIN command.
SPI_HandleTypeDef * SPI_Handler
static uint8_t ST7735R_RDDIM_CMD
RDDIM command.
void ST7735R_CS_High(void)
Set SPI1 CS pin.
static uint8_t ST7735R_RDID3_CMD
RDID3 command.
static uint8_t ST7735R_MADCTL_CMD
MADCTL command.
static uint8_t ST7735R_RAMRD_CMD
RAMRD command.
static uint8_t ST7735R_GAMSET_CMD
GAMSET command.
static uint8_t ST7735R_IDMON_CMD
IDMON command.
static uint8_t ST7735R_RDID1_CMD
RDID1 command.
static uint8_t ST7735R_TEOFF_CMD
TEOFF command.
static uint8_t ST7735R_RDDMADCTL_CMD
RDDMADCTL command.