|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Include dependency graph for ads1114.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ads1114_periph |
Functions | |
| void | ads1114_init (void) |
| void | ads1114_read (struct ads1114_periph *p) |
| struct ads1114_periph |
Collaboration diagram for ads1114_periph:| Data Fields | ||
|---|---|---|
| bool | config_done | |
| bool | data_available | |
| uint8_t | i2c_addr | |
| struct i2c_transaction | trans | |
| #define _Ads1114Event | ( | _p | ) |
| #define ADS1114_1_CONFIG_LSB ((ADS1114_1_DR<<5)|(ADS1114_1_COMP_MODE<<4)|(ADS1114_1_COMP_POL<<3)|(ADS1114_1_COMP_LAT<<2)|(ADS1114_1_COMP_QUE)) |
| #define ADS1114_1_CONFIG_MSB ((ADS1114_1_OS<<7)|(ADS1114_1_MUX<<4)|(ADS1114_1_PGA<<1)|(ADS1114_1_MODE)) |
| #define ADS1114_2_CONFIG_LSB ((ADS1114_2_DR<<5)|(ADS1114_2_COMP_MODE<<4)|(ADS1114_2_COMP_POL<<3)|(ADS1114_2_COMP_LAT<<2)|(ADS1114_2_COMP_QUE)) |
| #define ADS1114_2_CONFIG_MSB ((ADS1114_2_OS<<7)|(ADS1114_2_MUX<<4)|(ADS1114_2_PGA<<1)|(ADS1114_2_MODE)) |
| #define Ads1114Event | ( | ) |
| 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_transceive(), I2CTransDone, and p.
Referenced by airspeed_periodic(), and baro_periodic().
Here is the call graph for this function:
Here is the caller graph for this function: