Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
DSHOTDriver Struct Reference

DSHOT driver structure. More...

#include <esc_dshot.h>

+ Collaboration diagram for DSHOTDriver:

Public Member Functions

 THD_WORKING_AREA (waDshotTlmRec, 512)
 stack working area for dshot telemetry thread More...
 

Data Fields

const DSHOTConfigconfig
 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...
 
DshotPackets dshotMotors
 
DshotDmaBuffer dsdb
 

Detailed Description

DSHOT driver structure.

Definition at line 208 of file esc_dshot.h.

Member Function Documentation

DSHOTDriver::THD_WORKING_AREA ( waDshotTlmRec  ,
512   
)

stack working area for dshot telemetry thread

Field Documentation

msg_t DSHOTDriver::_mbBuf[1]

mailbox buffer for dshot telemetry thread

Definition at line 232 of file esc_dshot.h.

Referenced by dshotStart().

const DSHOTConfig* DSHOTDriver::config

DMA config associated with pwm timer.

Definition at line 212 of file esc_dshot.h.

Referenced by dshotSendFrame(), dshotSendSpecialCommand(), dshotStart(), and dshotTlmRec().

uint32_t DSHOTDriver::crc_errors

number of crc errors

Definition at line 242 of file esc_dshot.h.

Referenced by dshotGetCrcErrorsCount(), dshotStart(), and dshotTlmRec().

DMAConfig DSHOTDriver::dma_conf

DMA config associated with pwm timer.

Definition at line 217 of file esc_dshot.h.

Referenced by dshotStart().

DMADriver DSHOTDriver::dmap

DMA driver associated with pwm timer.

Definition at line 227 of file esc_dshot.h.

Referenced by dshotSendFrame(), and dshotStart().

DshotDmaBuffer DSHOTDriver::dsdb

Definition at line 250 of file esc_dshot.h.

Referenced by dshotSendFrame(), and dshotStart().

mailbox_t DSHOTDriver::mb

mailbox for dshot telemetry thread

Definition at line 237 of file esc_dshot.h.

Referenced by dshotSendFrame(), dshotStart(), and dshotTlmRec().

PWMConfig DSHOTDriver::pwm_conf

PWM config associated with pwm timer.

Definition at line 222 of file esc_dshot.h.

Referenced by dshotStart().


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