Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
DSHOT driver structure. More...
#include <esc_dshot.h>
Public Member Functions | |
THD_WORKING_AREA (waDshotTlmRec, 512) | |
stack working area for dshot telemetry thread More... | |
Data Fields | |
const DSHOTConfig * | config |
DMA config associated with pwm timer. More... | |
DMAConfig | dma_conf |
DMA config associated with pwm timer. More... | |
PWMConfig | pwm_conf |
PWM config associated with pwm timer. More... | |
DMADriver | dmap |
DMA driver associated with pwm timer. More... | |
msg_t | _mbBuf [1] |
mailbox buffer for dshot telemetry thread More... | |
mailbox_t | mb |
mailbox for dshot telemetry thread More... | |
uint32_t | crc_errors |
number of crc errors More... | |
uint32_t | tlm_frame_nb |
number of sucessful telemetry frame received More... | |
uint16_t | bit0Duty |
uint16_t | bit1Duty |
DshotPackets | dshotMotors |
object managing dma control frame for outgoing command More... | |
DSHOT driver structure.
Definition at line 287 of file esc_dshot.h.
DSHOTDriver::THD_WORKING_AREA | ( | waDshotTlmRec | , |
512 | |||
) |
stack working area for dshot telemetry thread
msg_t DSHOTDriver::_mbBuf[1] |
mailbox buffer for dshot telemetry thread
Definition at line 311 of file esc_dshot.h.
Referenced by dshotStart().
uint16_t DSHOTDriver::bit0Duty |
Definition at line 329 of file esc_dshot.h.
Referenced by dshotStart().
uint16_t DSHOTDriver::bit1Duty |
Definition at line 330 of file esc_dshot.h.
Referenced by dshotStart().
const DSHOTConfig* DSHOTDriver::config |
DMA config associated with pwm timer.
Definition at line 291 of file esc_dshot.h.
Referenced by buildDshotDmaBuffer(), dshotSendFrame(), dshotSendSpecialCommand(), dshotStart(), dshotStop(), and dshotTlmRec().
uint32_t DSHOTDriver::crc_errors |
number of crc errors
Definition at line 321 of file esc_dshot.h.
Referenced by dshotGetCrcErrorCount(), dshotStart(), and dshotTlmRec().
DMAConfig DSHOTDriver::dma_conf |
DMA config associated with pwm timer.
Definition at line 296 of file esc_dshot.h.
Referenced by dshotStart().
DMADriver DSHOTDriver::dmap |
DMA driver associated with pwm timer.
Definition at line 306 of file esc_dshot.h.
Referenced by dshotSendFrame(), dshotStart(), and dshotStop().
DshotPackets DSHOTDriver::dshotMotors |
object managing dma control frame for outgoing command
Definition at line 356 of file esc_dshot.h.
Referenced by buildDshotDmaBuffer(), dshotGetTelemetry(), dshotSendFrame(), dshotSendSpecialCommand(), dshotSendThrottles(), dshotSetThrottle(), dshotStart(), and dshotTlmRec().
mailbox_t DSHOTDriver::mb |
mailbox for dshot telemetry thread
Definition at line 316 of file esc_dshot.h.
Referenced by dshotSendFrame(), dshotStart(), and dshotTlmRec().
PWMConfig DSHOTDriver::pwm_conf |
PWM config associated with pwm timer.
Definition at line 301 of file esc_dshot.h.
Referenced by dshotStart().
uint32_t DSHOTDriver::tlm_frame_nb |
number of sucessful telemetry frame received
Definition at line 326 of file esc_dshot.h.
Referenced by dshotGetTelemetryFrameCount(), dshotStart(), and dshotTlmRec().