LibDriver SSD1351  2.0.0
SSD1351 full function driver
ssd1351 extend driver function

ssd1351 extend driver modules More...

Functions

uint8_t ssd1351_write_cmd (ssd1351_handle_t *handle, uint8_t cmd)
 write the command More...
 
uint8_t ssd1351_write_data (ssd1351_handle_t *handle, uint8_t data)
 write the data More...
 

Detailed Description

ssd1351 extend driver modules

Function Documentation

◆ ssd1351_write_cmd()

uint8_t ssd1351_write_cmd ( ssd1351_handle_t handle,
uint8_t  cmd 
)

write the command

Parameters
[in]*handlepoints to an ssd1351 handle structure
[in]cmdis the send command
Returns
status code
  • 0 success
  • 1 write command failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 3021 of file driver_ssd1351.c.

◆ ssd1351_write_data()

uint8_t ssd1351_write_data ( ssd1351_handle_t handle,
uint8_t  data 
)

write the data

Parameters
[in]*handlepoints to an ssd1351 handle structure
[in]datais the send data
Returns
status code
  • 0 success
  • 1 write data failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 3046 of file driver_ssd1351.c.