|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Skiron motor speed controller by Michel. More...
Include dependency graph for actuators_skiron.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ActuatorsSkiron |
Macros | |
| #define | ACTUATORS_SKIRON_I2C_ADDR 0x00 |
| #define | ActuatorSkironSet(_i, _v) { actuators_skiron.trans.buf[_i] = _v; } |
| #define | ActuatorsSkironInit() actuators_skiron_init() |
| #define | ActuatorsSkironCommit() actuators_skiron_set() |
Functions | |
| void | actuators_skiron_init (void) |
| void | actuators_skiron_set (void) |
Variables | |
| struct ActuatorsSkiron | actuators_skiron |
Skiron motor speed controller by Michel.
Definition in file actuators_skiron.h.
| struct ActuatorsSkiron |
Definition at line 37 of file actuators_skiron.h.
Collaboration diagram for ActuatorsSkiron:| Data Fields | ||
|---|---|---|
| struct i2c_transaction | trans | |
| #define ACTUATORS_SKIRON_I2C_ADDR 0x00 |
Definition at line 35 of file actuators_skiron.h.
Referenced by actuators_skiron_init().
| #define ActuatorSkironSet | ( | _i, | |
| _v | |||
| ) | { actuators_skiron.trans.buf[_i] = _v; } |
Definition at line 46 of file actuators_skiron.h.
| #define ActuatorsSkironCommit | ( | ) | actuators_skiron_set() |
Definition at line 48 of file actuators_skiron.h.
| #define ActuatorsSkironInit | ( | ) | actuators_skiron_init() |
Definition at line 47 of file actuators_skiron.h.
| void actuators_skiron_init | ( | void | ) |
Definition at line 37 of file actuators_skiron.c.
References ACTUATORS_SKIRON_I2C_ADDR, I2CTransDone, I2CTransTx, i2c_transaction::len_w, i2c_transaction::slave_addr, i2c_transaction::status, ActuatorsSkiron::trans, and i2c_transaction::type.
| void actuators_skiron_set | ( | void | ) |
Definition at line 47 of file actuators_skiron.c.
References actuators_skiron, i2c_transaction::buf, i2c_submit(), SysTimeTimer, ActuatorsSkiron::trans, and USEC_OF_SEC.
Here is the call graph for this function:| struct ActuatorsSkiron actuators_skiron |
Definition at line 34 of file actuators_skiron.c.
Referenced by actuators_skiron_set().