Paparazzi UAS  v5.15_devel-47-g0391b4d
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_mkk_v2.h File Reference

Actuators driver for Mikrokopter motor controllers. More...

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


#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()


void actuators_mkk_v2_init (void)
void actuators_mkk_v2_set (void)


struct actuators_mkk_v2_struct actuators_mkk_v2

Detailed Description

Actuators driver for Mikrokopter motor controllers.

Definition in file actuators_mkk_v2.h.

Data Structure Documentation

struct actuators_mkk_v2_telemetry_struct

Definition at line 34 of file actuators_mkk_v2.h.

Data Fields
uint8_t Current
uint8_t MaxPWM
int8_t Temperature
uint8_t Version
struct actuators_mkk_v2_struct

Definition at line 41 of file actuators_mkk_v2.h.

+ Collaboration diagram for actuators_mkk_v2_struct:
Data Fields
uint8_t read_number
uint16_t setpoint[ACTUATORS_MKK_V2_NB]
struct i2c_transaction trans[ACTUATORS_MKK_V2_NB]

Macro Definition Documentation

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

Function Documentation

Variable Documentation