LibDriver APA102C
Loading...
Searching...
No Matches
apa102c extern driver function

apa102c extern driver modules More...

Collaboration diagram for apa102c extern driver function:

Functions

uint8_t apa102c_set_reg (apa102c_handle_t *handle, uint8_t *buf, uint16_t len)
 set the chip register

Detailed Description

apa102c extern driver modules

Function Documentation

◆ apa102c_set_reg()

uint8_t apa102c_set_reg ( apa102c_handle_t * handle,
uint8_t * buf,
uint16_t len )

set the chip register

Parameters
[in]*handlepointer to an apa102c 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 298 of file driver_apa102c.c.