Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
actuators_asctec_v2.c File Reference

Actuators driver for Asctec v2 motor controllers. More...

Include dependency graph for actuators_asctec_v2.c:

Go to the source code of this file.

Macros

#define ACTUATORS_ASCTEC_V2_SLAVE_ADDR   0x02

Functions

void actuators_asctec_v2_init (void)
void actuators_asctec_v2_commit (void)
void actuators_asctec_v2_set (uint8_t idx, int16_t value)

Variables

struct ActuatorsAsctecV2 actuators_asctec_v2

Detailed Description

Actuators driver for Asctec v2 motor controllers.

Definition in file actuators_asctec_v2.c.

Macro Definition Documentation

◆ ACTUATORS_ASCTEC_V2_SLAVE_ADDR

#define ACTUATORS_ASCTEC_V2_SLAVE_ADDR   0x02

Definition at line 32 of file actuators_asctec_v2.c.

Referenced by actuators_asctec_v2_init().

Function Documentation

◆ actuators_asctec_v2_commit()

void actuators_asctec_v2_commit ( void )

Definition at line 51 of file actuators_asctec_v2.c.

References actuators_asctec_v2, i2c_submit(), I2CTransDone, I2CTransFailed, I2CTransSuccess, I2CTransTx, NONE, REVERSE, SET_ADDR, SysTimeTimer, TEST, and USEC_OF_SEC.

Here is the call graph for this function:

◆ actuators_asctec_v2_init()

void actuators_asctec_v2_init ( void )

Definition at line 38 of file actuators_asctec_v2.c.

References actuators_asctec_v2, actuators_asctec_v2_init(), ACTUATORS_ASCTEC_V2_SLAVE_ADDR, FRONT, I2CTransSuccess, I2CTransTx, and NONE.

Referenced by actuators_asctec_v2_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ actuators_asctec_v2_set()

void actuators_asctec_v2_set ( uint8_t idx,
int16_t value )

Definition at line 133 of file actuators_asctec_v2.c.

References actuators_asctec_v2, and idx.

Variable Documentation

◆ actuators_asctec_v2

struct ActuatorsAsctecV2 actuators_asctec_v2