Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_skiron.h File Reference

Skiron motor speed controller by Michel. More...

#include "std.h"
#include "mcu_periph/i2c.h"
#include "generated/airframe.h"
+ 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


#define ActuatorSkironSet(_i, _v)   { actuators_skiron.trans.buf[_i] = _v; }
#define ActuatorsSkironInit()   actuators_skiron_init()
#define ActuatorsSkironCommit()   actuators_skiron_set()


void actuators_skiron_init (void)
void actuators_skiron_set (void)


struct ActuatorsSkiron actuators_skiron

Detailed Description

Skiron motor speed controller by Michel.

Definition in file actuators_skiron.h.

Data Structure Documentation

struct ActuatorsSkiron

Definition at line 37 of file actuators_skiron.h.

+ Collaboration diagram for ActuatorsSkiron:
Data Fields
struct i2c_transaction trans

Macro Definition Documentation


Definition at line 35 of file actuators_skiron.h.

Referenced by actuators_skiron_init().

#define ActuatorSkironSet (   _i,
)    { 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.

Function Documentation

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:

Variable Documentation

struct ActuatorsSkiron actuators_skiron

Definition at line 34 of file actuators_skiron.c.

Referenced by actuators_skiron_set().