|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Actuators driver for Mikrokopter motor controllers. More...
Include dependency graph for actuators_mkk_v2.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | actuators_mkk_v2_telemetry_struct |
| struct | actuators_mkk_v2_struct |
Macros | |
| #define | ActuatorMkk_v2Set(_i, _v) { actuators_mkk_v2.setpoint[_i] = _v; } |
| #define | ActuatorsMkk_v2Init() actuators_mkk_v2_init() |
| #define | ActuatorsMkk_v2Commit() actuators_mkk_v2_set() |
Functions | |
| void | actuators_mkk_v2_init (void) |
| void | actuators_mkk_v2_set (void) |
Variables | |
| struct actuators_mkk_v2_struct | actuators_mkk_v2 |
Actuators driver for Mikrokopter motor controllers.
Definition in file actuators_mkk_v2.h.
| struct actuators_mkk_v2_telemetry_struct |
| struct actuators_mkk_v2_struct |
Definition at line 41 of file actuators_mkk_v2.h.
Collaboration diagram for actuators_mkk_v2_struct:| Data Fields | ||
|---|---|---|
|
struct actuators_mkk_v2_telemetry_struct |
data[ACTUATORS_MKK_V2_NB] | |
| uint8_t | read_number | |
| uint16_t | setpoint[ACTUATORS_MKK_V2_NB] | |
| struct i2c_transaction | trans[ACTUATORS_MKK_V2_NB] | |
| #define ActuatorMkk_v2Set | ( | _i, | |
| _v | |||
| ) | { actuators_mkk_v2.setpoint[_i] = _v; } |
Definition at line 53 of file actuators_mkk_v2.h.
| #define ActuatorsMkk_v2Commit | ( | ) | actuators_mkk_v2_set() |
Definition at line 55 of file actuators_mkk_v2.h.
| #define ActuatorsMkk_v2Init | ( | ) | actuators_mkk_v2_init() |
Definition at line 54 of file actuators_mkk_v2.h.
| void actuators_mkk_v2_init | ( | void | ) |
Definition at line 36 of file actuators_mkk_v2.c.
References actuators_mkk_v2_telemetry_struct::Current, actuators_mkk_v2_struct::data, I2CTransSuccess, I2CTransTx, i2c_transaction::len_w, actuators_mkk_v2_telemetry_struct::MaxPWM, actuators_mkk_v2_struct::read_number, i2c_transaction::slave_addr, i2c_transaction::status, actuators_mkk_v2_telemetry_struct::Temperature, actuators_mkk_v2_struct::trans, i2c_transaction::type, and actuators_mkk_v2_telemetry_struct::Version.
| void actuators_mkk_v2_set | ( | void | ) |
Definition at line 67 of file actuators_mkk_v2.c.
References actuators_mkk_v2, actuators_mkk_v2_read(), i2c_transaction::buf, actuators_mkk_v2_telemetry_struct::Current, actuators_mkk_v2_struct::data, i2c_submit(), I2CTransTx, actuators_mkk_v2_telemetry_struct::MaxPWM, actuators_mkk_v2_struct::setpoint, SysTimeTimer, actuators_mkk_v2_telemetry_struct::Temperature, actuators_mkk_v2_struct::trans, i2c_transaction::type, and USEC_OF_SEC.
Here is the call graph for this function:| struct actuators_mkk_v2_struct actuators_mkk_v2 |
Definition at line 34 of file actuators_mkk_v2.c.
Referenced by actuators_mkk_v2_read(), actuators_mkk_v2_set(), and config_mkk_v2_periodic_telemetry().