LibDriver SSD1351
Loading...
Searching...
No Matches
ssd1351 extend driver function

ssd1351 extend driver modules More...

Collaboration diagram for ssd1351 extend driver function:

Functions

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

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]*handlepointer to an ssd1351 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 3023 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]*handlepointer to an ssd1351 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 3048 of file driver_ssd1351.c.