27#ifndef ACTUATORS_DSHOT_H
28#define ACTUATORS_DSHOT_H
36#ifndef ACTUATORS_DSHOT_OFFSET
37#define ACTUATORS_DSHOT_OFFSET 48
44#ifndef ACTUATORS_DSHOT_NB
45#define ACTUATORS_DSHOT_NB (8+1)
67#define ActuatorDShotSet actuators_dshot_set
68#define ActuatorsDShotInit actuators_dshot_arch_init
69#define ActuatorsDShotCommit actuators_dshot_arch_commit
void actuators_dshot_set(uint8_t idx, int16_t value)
void actuators_dshot_arch_init(void)
Arch dependent init.
bool activated
current dshot channel is activated
float voltage
motor current
float energy
energy (from dshot telemetry)
#define ACTUATORS_DSHOT_NB
Maxnum number of DSHOT commands This should be large enough for max applications: 8 motors +1 in case...
struct dshot actuators_dshot_values[ACTUATORS_DSHOT_NB]
void actuators_dshot_arch_commit(void)
short int16_t
Typedef defining 16 bit short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.