LibDriver ST7789
Loading...
Searching...
No Matches
st7789 extend driver function

st7789 extend driver modules More...

Collaboration diagram for st7789 extend driver function:

Functions

uint8_t st7789_write_cmd (st7789_handle_t *handle, uint8_t cmd)
 write the command
uint8_t st7789_write_data (st7789_handle_t *handle, uint8_t data)
 write the data

Detailed Description

st7789 extend driver modules

Function Documentation

◆ st7789_write_cmd()

uint8_t st7789_write_cmd ( st7789_handle_t * handle,
uint8_t cmd )

write the command

Parameters
[in]*handlepointer to an st7789 handle structure
[in]cmdsent command
Returns
status code
  • 0 success
  • 1 write command failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 4620 of file driver_st7789.c.

◆ st7789_write_data()

uint8_t st7789_write_data ( st7789_handle_t * handle,
uint8_t data )

write the data

Parameters
[in]*handlepointer to an st7789 handle structure
[in]datasent data
Returns
status code
  • 0 success
  • 1 write data failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 4645 of file driver_st7789.c.