Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ads1114.c File Reference
+ Include dependency graph for ads1114.c:

Go to the source code of this file.

Functions

void ads1114_init (void)
 
void ads1114_read (struct ads1114_periph *p)
 

Function Documentation

void ads1114_init ( void  )

Definition at line 37 of file ads1114.c.

References ADS1114_1_CONFIG_LSB, ADS1114_1_CONFIG_MSB, ADS1114_1_I2C_ADDR, ADS1114_2_CONFIG_LSB, ADS1114_2_CONFIG_MSB, ADS1114_2_I2C_ADDR, ADS1114_I2C_DEV, ADS1114_POINTER_CONFIG_REG, and i2c_transmit().

Referenced by baro_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ads1114_read ( struct ads1114_periph p)

Definition at line 63 of file ads1114.c.

References ADS1114_I2C_DEV, ADS1114_POINTER_CONV_REG, i2c_transaction::buf, ads1114_periph::config_done, ads1114_periph::i2c_addr, i2c_transceive(), I2CTransDone, i2c_transaction::status, and ads1114_periph::trans.

Referenced by airspeed_periodic(), and baro_periodic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: