|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Include dependency graph for ezcurrent.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | ezcurrent_init (void) |
| void | ezcurrent_read_periodic (void) |
| void | ezcurrent_read_event (void) |
| void ezcurrent_init | ( | void | ) |
Definition at line 50 of file ezcurrent.c.
References Electrical::current, electrical, EZCURRENT_ADDR, ezcurrent_i2c_trans, I2CTransDone, i2c_transaction::slave_addr, i2c_transaction::status, and Electrical::vsupply.
| void ezcurrent_read_event | ( | void | ) |
Definition at line 69 of file ezcurrent.c.
References i2c_transaction::buf, Electrical::consumed, Electrical::current, electrical, ezcurrent_i2c_trans, I2CTransDone, I2CTransFailed, I2CTransSuccess, Int16FromBuf, i2c_transaction::status, Uint16FromBuf, and Electrical::vsupply.
| void ezcurrent_read_periodic | ( | void | ) |
Definition at line 59 of file ezcurrent.c.
References EZCURRENT_I2C_DEV, ezcurrent_i2c_trans, i2c_receive(), I2CTransDone, i2c_transaction::slave_addr, and i2c_transaction::status.
Here is the call graph for this function: