PX4 Firmware
PX4 Autopilot Software http://px4.io
DShotOutput::Command Struct Reference
Collaboration diagram for DShotOutput::Command:

Public Member Functions

bool valid () const
 
void clear ()
 

Public Attributes

dshot_command_t command
 
int num_repetitions {0}
 
uint8_t motor_mask {0xff}
 

Detailed Description

Definition at line 178 of file dshot.cpp.

Member Function Documentation

◆ clear()

void DShotOutput::Command::clear ( )
inline

Definition at line 184 of file dshot.cpp.

Referenced by DShotOutput::updateOutputs().

Here is the caller graph for this function:

◆ valid()

bool DShotOutput::Command::valid ( ) const
inline

Definition at line 183 of file dshot.cpp.

Referenced by DShotOutput::Run(), and DShotOutput::updateOutputs().

Here is the caller graph for this function:

Member Data Documentation

◆ command

◆ motor_mask

uint8_t DShotOutput::Command::motor_mask {0xff}

◆ num_repetitions

int DShotOutput::Command::num_repetitions {0}

The documentation for this struct was generated from the following file: