LibDriver ISD17XX
Loading...
Searching...
No Matches
isd17xx extend driver function

isd17xx extend driver modules More...

Collaboration diagram for isd17xx extend driver function:

Functions

uint8_t isd17xx_set_reg (isd17xx_handle_t *handle, uint8_t cmd, uint8_t *buf, uint16_t len)
 set the chip register
uint8_t isd17xx_get_reg (isd17xx_handle_t *handle, uint8_t cmd, uint8_t *buf, uint16_t len)
 get the chip register

Detailed Description

isd17xx extend driver modules

Function Documentation

◆ isd17xx_get_reg()

uint8_t isd17xx_get_reg ( isd17xx_handle_t * handle,
uint8_t cmd,
uint8_t * buf,
uint16_t len )

get the chip register

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

Definition at line 2770 of file driver_isd17xx.c.

◆ isd17xx_set_reg()

uint8_t isd17xx_set_reg ( isd17xx_handle_t * handle,
uint8_t cmd,
uint8_t * buf,
uint16_t len )

set the chip register

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

Definition at line 2743 of file driver_isd17xx.c.