Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ami601.c File Reference
+ Include dependency graph for ami601.c:

Go to the source code of this file.

Functions

void ami601_init (void)
 
void ami601_read (void)
 

Variables

uint8_t ami601_foo1
 
uint8_t ami601_foo2
 
uint8_t ami601_foo3
 
uint16_t ami601_values [AMI601_NB_CHAN]
 
volatile uint8_t ami601_status
 
struct i2c_transaction ami601_i2c_trans
 
volatile uint32_t ami601_nb_err
 

Function Documentation

void ami601_init ( void  )

Definition at line 12 of file ami601.c.

References ami601_i2c_trans, AMI601_IDLE, AMI601_NB_CHAN, ami601_nb_err, AMI601_SLAVE_ADDR, ami601_status, ami601_values, I2CTransSuccess, i2c_transaction::slave_addr, and i2c_transaction::status.

Referenced by imu_impl_init().

+ Here is the caller graph for this function:

void ami601_read ( void  )

Definition at line 25 of file ami601.c.

References ami601_i2c_trans, AMI601_IDLE, ami601_nb_err, AMI601_SENDING_REQ, ami601_status, i2c_transaction::buf, i2c_submit(), I2CTransTx, i2c_transaction::len_w, and i2c_transaction::type.

Referenced by imu_periodic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

uint8_t ami601_foo1

Definition at line 3 of file ami601.c.

uint8_t ami601_foo2

Definition at line 4 of file ami601.c.

uint8_t ami601_foo3

Definition at line 5 of file ami601.c.

struct i2c_transaction ami601_i2c_trans

Definition at line 9 of file ami601.c.

Referenced by ami601_init(), and ami601_read().

volatile uint32_t ami601_nb_err

Definition at line 10 of file ami601.c.

Referenced by ami601_init(), and ami601_read().

volatile uint8_t ami601_status

Definition at line 8 of file ami601.c.

Referenced by ami601_init(), and ami601_read().

uint16_t ami601_values[AMI601_NB_CHAN]

Definition at line 6 of file ami601.c.

Referenced by ami601_init().