|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/actuators/dshot_erps.h"
Include dependency graph for dshot_erps.c:Go to the source code of this file.
Variables | |
| static const uint8_t | gcrNibble [16] |
| IBM GCR encoding lookup table. | |
| static const uint8_t | gcrNibbleInv [32] |
| IBM GCR decoding lookup table. | |
calculate crc4
| [in] | val |
Definition at line 111 of file dshot_erps.c.
References val.
Referenced by DshotErpsCheckCrc4(), and eperiodToPacked().
Here is the caller graph for this function:check packed validity
| [in] | derpsp | pointer to the DshotErps object |
Definition at line 99 of file dshot_erps.c.
Here is the call graph for this function:return eperiod from mantisse and exponent
| [in] | derpsp | pointer to the DshotErps object |
Definition at line 72 of file dshot_erps.c.
References foo.
Referenced by DshotErpsGetRpm().
Here is the caller graph for this function:calculate and return rpm
| [in] | derpsp | pointer to the DshotErps object |
Definition at line 87 of file dshot_erps.c.
References DshotErpsGetEperiod(), and foo.
Here is the call graph for this function:initialise from GCR encoded frame
| [in] | derpsp | pointer to the DshotErps object @api |
Definition at line 44 of file dshot_erps.c.
References DshotErps::ef, foo, frame, and frameToPacket().
Here is the call graph for this function:initialise from rpm value
| [in] | derpsp | pointer to the DshotErps object @api |
Definition at line 57 of file dshot_erps.c.
References foo, rpm, and setFromEperiod().
Here is the call graph for this function:decode 20 bits GCR of grey value to eperiod
| [in] | GCR(0,2) | encoded value received from ESC |
Definition at line 230 of file dshot_erps.c.
References frame, gcrDecode(), and greyDecode().
Referenced by frameToPacket().
Here is the call graph for this function:
Here is the caller graph for this function:encode eperiod to 20 bits GCR of grey value
| [in] | eperiod | in microseconds |
Definition at line 218 of file dshot_erps.c.
References foo, gcrEncode(), and greyEncode().
Referenced by packetToFrame().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
encode packet from eperiod
| [in] | eperiod | in microseconds |
Definition at line 124 of file dshot_erps.c.
References crc4(), foo, and p.
Referenced by setFromEperiod().
Here is the call graph for this function:
Here is the caller graph for this function:decode eperiod
| [in,out] | derpsp | pointer to the DshotErps object |
Definition at line 254 of file dshot_erps.c.
References eperiodDecode(), and foo.
Referenced by DshotErpsSetFromFrame().
Here is the call graph for this function:
Here is the caller graph for this function:decode 20 bits GCR value to 16 bits natural
| [in] | GCR(0,2) | encoded value |
Definition at line 194 of file dshot_erps.c.
References foo, and gcrNibbleInv.
Referenced by eperiodDecode().
Here is the caller graph for this function:encode 16 bit value to 20 bits GCR
| [in] | binary | value |
Definition at line 175 of file dshot_erps.c.
References foo, and gcrNibble.
Referenced by eperiodEncode().
Here is the caller graph for this function:get natural binary value from grey binary
| [in] | grey | encoded value |
Definition at line 163 of file dshot_erps.c.
References foo.
Referenced by eperiodDecode().
Here is the caller graph for this function:get grey binary value from natural binary
| [in] | num | natural binary value |
Definition at line 146 of file dshot_erps.c.
References foo.
Referenced by eperiodEncode().
Here is the caller graph for this function:encode eperiod
| [in,out] | derpsp | pointer to the DshotErps object |
Definition at line 266 of file dshot_erps.c.
References eperiodEncode(), and foo.
Referenced by setFromEperiod().
Here is the call graph for this function:
Here is the caller graph for this function:initialize from eperiod in microseconds
| [in] | derpsp | pointer to the DshotErps object |
| [in] | eperiod | in microseconds |
Definition at line 242 of file dshot_erps.c.
References eperiodToPacked(), foo, and packetToFrame().
Referenced by DshotErpsSetFromRpm().
Here is the call graph for this function:
Here is the caller graph for this function:IBM GCR encoding lookup table.
Definition at line 8 of file dshot_erps.c.
Referenced by gcrEncode().
IBM GCR decoding lookup table.
Definition at line 15 of file dshot_erps.c.
Referenced by gcrDecode().