|
Motor Driver Evaluation Kit NEVB-MTR1-t01-1.1.0
Firmware for NEVB-MTR1-KIT1 for trapezoidal control of BLDC motors using Hall-effect sensors
|
Collection of all motor control flags. More...
#include <config.h>
Public Attributes | |
| uint8_t | reserved: 7 |
| Reserved bit(s). | |
| uint8_t | speedControllerRun: 1 |
| Should speed controller run? | |
| uint8_t | remote: 1 |
| Is the remote enabled? | |
| uint8_t | enable: 1 |
| Is the motor enabled? | |
| uint8_t | actualDirection: 2 |
| The actual direction of rotation. | |
| uint8_t | desiredDirection: 1 |
| The desired direction of rotation. | |
| uint8_t | driveWaveform: 2 |
| The current waveform that should be produced. | |
| uint8_t | fatalFault: 1 |
| Fatal fault. | |
Collection of all motor control flags.
This struct contains all motor control flags used in this implementation.
| uint8_t motorflags::actualDirection |
| uint8_t motorflags::desiredDirection |
| uint8_t motorflags::driveWaveform |
| uint8_t motorflags::speedControllerRun |