Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_asctec_v2_new.c File Reference

Actuators driver for Asctec v2 motor controllers with the new I2C protocol. More...

+ Include dependency graph for actuators_asctec_v2_new.c:

Go to the source code of this file.

Macros

#define ACTUATORS_ASCTEC_V2_SLAVE_ADDR   0x00
 

Functions

static uint16_t crc_update (uint16_t crc, uint8_t data)
 
void actuators_asctec_v2_init (void)
 
void actuators_asctec_v2_set (void)
 

Variables

struct ActuatorsAsctecV2 actuators_asctec_v2
 

Detailed Description

Actuators driver for Asctec v2 motor controllers with the new I2C protocol.

Definition in file actuators_asctec_v2_new.c.

Macro Definition Documentation

#define ACTUATORS_ASCTEC_V2_SLAVE_ADDR   0x00

Definition at line 32 of file actuators_asctec_v2_new.c.

Referenced by actuators_asctec_v2_init(), and actuators_asctec_v2_set().

Function Documentation

static uint16_t crc_update ( uint16_t  crc,
uint8_t  data 
)
static

Definition at line 181 of file actuators_asctec_v2_new.c.

Referenced by actuators_asctec_v2_set().

+ Here is the caller graph for this function:

Variable Documentation

struct ActuatorsAsctecV2 actuators_asctec_v2

Definition at line 36 of file actuators_asctec_v2_new.c.

Referenced by actuators_asctec_v2_set().