LibDriver TTP229
Loading...
Searching...
No Matches
ttp229 extern driver function

ttp229 extern driver modules More...

Collaboration diagram for ttp229 extern driver function:

Functions

uint8_t ttp229_get_reg (ttp229_handle_t *handle, uint8_t *buf, uint16_t len)
 get the chip register

Detailed Description

ttp229 extern driver modules

Function Documentation

◆ ttp229_get_reg()

uint8_t ttp229_get_reg ( ttp229_handle_t * handle,
uint8_t * buf,
uint16_t len )

get the chip register

Parameters
[in]*handlepointer to a ttp229 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 411 of file driver_ttp229.c.