LibDriver SSD1315
Loading...
Searching...
No Matches
ssd1315 extend driver function

ssd1315 extend driver modules More...

Collaboration diagram for ssd1315 extend driver function:

Functions

uint8_t ssd1315_write_cmd (ssd1315_handle_t *handle, uint8_t *buf, uint8_t len)
 write the register command
uint8_t ssd1315_write_data (ssd1315_handle_t *handle, uint8_t *buf, uint8_t len)
 write the register data

Detailed Description

ssd1315 extend driver modules

Function Documentation

◆ ssd1315_write_cmd()

uint8_t ssd1315_write_cmd ( ssd1315_handle_t * handle,
uint8_t * buf,
uint8_t len )

write the register command

Parameters
[in]*handlepointer to an ssd1315 handle structure
[in]*bufpointer to a data buffer
[in]lendata length
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 2503 of file driver_ssd1315.c.

◆ ssd1315_write_data()

uint8_t ssd1315_write_data ( ssd1315_handle_t * handle,
uint8_t * buf,
uint8_t len )

write the register data

Parameters
[in]*handlepointer to an ssd1315 handle structure
[in]*bufpointer to a data buffer
[in]lendata length
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 2529 of file driver_ssd1315.c.