Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
Skiron motor speed controller by Michel. More...
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.
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.
struct ActuatorsSkiron actuators_skiron |
Definition at line 34 of file actuators_skiron.c.
Referenced by actuators_skiron_set().