LibDriver TPL0501
Loading...
Searching...
No Matches
tpl0501 extern driver function

tpl0501 extern driver modules More...

Collaboration diagram for tpl0501 extern driver function:

Functions

uint8_t tpl0501_set_reg (tpl0501_handle_t *handle, uint8_t raw)
 set the chip register

Detailed Description

tpl0501 extern driver modules

Function Documentation

◆ tpl0501_set_reg()

uint8_t tpl0501_set_reg ( tpl0501_handle_t * handle,
uint8_t raw )

set the chip register

Parameters
[in]*handlepointer to a tpl0501 handle structure
[in]rawset data
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 276 of file driver_tpl0501.c.