LibDriver SSD1681
Loading...
Searching...
No Matches
ssd1681 extend driver function

ssd1681 extend driver modules More...

Collaboration diagram for ssd1681 extend driver function:

Functions

uint8_t ssd1681_write_cmd (ssd1681_handle_t *handle, uint8_t *buf, uint8_t len)
 write the register command
uint8_t ssd1681_write_data (ssd1681_handle_t *handle, uint8_t *buf, uint8_t len)
 write the register data
uint8_t ssd1681_read_data (ssd1681_handle_t *handle, uint8_t *buf, uint8_t len)
 read the register data

Detailed Description

ssd1681 extend driver modules

Function Documentation

◆ ssd1681_read_data()

uint8_t ssd1681_read_data ( ssd1681_handle_t * handle,
uint8_t * buf,
uint8_t len )

read the register data

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

Definition at line 3170 of file driver_ssd1681.c.

◆ ssd1681_write_cmd()

uint8_t ssd1681_write_cmd ( ssd1681_handle_t * handle,
uint8_t * buf,
uint8_t len )

write the register command

Parameters
[in]*handlepointer to an ssd1681 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 3086 of file driver_ssd1681.c.

◆ ssd1681_write_data()

uint8_t ssd1681_write_data ( ssd1681_handle_t * handle,
uint8_t * buf,
uint8_t len )

write the register data

Parameters
[in]*handlepointer to an ssd1681 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 3128 of file driver_ssd1681.c.