LibDriver TEA5767
Loading...
Searching...
No Matches
tea5767 extern driver function

tea5767 extern driver modules More...

Collaboration diagram for tea5767 extern driver function:

Functions

uint8_t tea5767_set_reg (tea5767_handle_t *handle, uint8_t *buf, uint16_t len)
 set the chip register
uint8_t tea5767_get_reg (tea5767_handle_t *handle, uint8_t *buf, uint16_t len)
 get the chip register

Detailed Description

tea5767 extern driver modules

Function Documentation

◆ tea5767_get_reg()

uint8_t tea5767_get_reg ( tea5767_handle_t * handle,
uint8_t * buf,
uint16_t len )

get the chip register

Parameters
[in]*handlepointer to a tea5767 handle structure
[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 1642 of file driver_tea5767.c.

◆ tea5767_set_reg()

uint8_t tea5767_set_reg ( tea5767_handle_t * handle,
uint8_t * buf,
uint16_t len )

set the chip register

Parameters
[in]*handlepointer to a tea5767 handle structure
[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 1616 of file driver_tea5767.c.