LibDriver WT588E02B
Loading...
Searching...
No Matches
wt588e02b driver function

wt588e02b driver modules More...

Collaboration diagram for wt588e02b driver function:

Topics

 wt588e02b basic driver function
 wt588e02b basic driver modules
 wt588e02b extern driver function
 wt588e02b extern driver modules
 wt588e02b interface driver function
 wt588e02b interface driver modules
 wt588e02b example driver function
 wt588e02b example driver modules
 wt588e02b test driver function
 wt588e02b test driver modules

Functions

uint8_t wt588e02b_set_reg (wt588e02b_handle_t *handle, uint8_t *buf, uint16_t len, uint32_t us)
 set the chip register
uint8_t wt588e02b_get_reg (wt588e02b_handle_t *handle, uint8_t *buf, uint16_t len, uint32_t us)
 get the chip register

Detailed Description

wt588e02b driver modules

Function Documentation

◆ wt588e02b_get_reg()

uint8_t wt588e02b_get_reg ( wt588e02b_handle_t * handle,
uint8_t * buf,
uint16_t len,
uint32_t us )

get the chip register

Parameters
[in]*handlepointer to a wt588e02b handle structure
[out]*bufpointer to a data buffer
[in]lenbuffer length
[in]usdelay us
Returns
status code
  • 0 success
  • 1 get reg failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1663 of file driver_wt588e02b.c.

◆ wt588e02b_set_reg()

uint8_t wt588e02b_set_reg ( wt588e02b_handle_t * handle,
uint8_t * buf,
uint16_t len,
uint32_t us )

set the chip register

Parameters
[in]*handlepointer to a wt588e02b handle structure
[in]*bufpointer to a data buffer
[in]lenbuffer length
[in]usdelay us
Returns
status code
  • 0 success
  • 1 set reg failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1600 of file driver_wt588e02b.c.