LibDriver ADS1118
Loading...
Searching...
No Matches
ads1118 extern driver function

ads1118 extern driver modules More...

Collaboration diagram for ads1118 extern driver function:

Functions

uint8_t ads1118_transmit (ads1118_handle_t *handle, uint8_t *tx, uint8_t *rx, uint16_t len)
 chip transmit

Detailed Description

ads1118 extern driver modules

Function Documentation

◆ ads1118_transmit()

uint8_t ads1118_transmit ( ads1118_handle_t * handle,
uint8_t * tx,
uint8_t * rx,
uint16_t len )

chip transmit

Parameters
[in]*handlepointer to an ads1118 handle structure
[in]*txpointer to a tx buffer
[out]*rxpointer to a rx buffer
[in]lenlength of tx and rx buffer
Returns
status code
  • 0 success
  • 1 transmit failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1010 of file driver_ads1118.c.