Motor Evaluation Kit NEVC-MCTRL-100-t01-1.0.0
Firmware for NEVB-MCTRL-100-01 for trapezoidal control of BLDC motors using Hall-effect sensors
Loading...
Searching...
No Matches

Collection of all motor control flags. More...

#include <main.h>

Public Attributes

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.
 

Detailed Description

Collection of all motor control flags.

This struct contains all motor control flags used in this implementation.

Definition at line 978 of file main.h.

Member Data Documentation

◆ actualDirection

uint8_t motorflags::actualDirection

The actual direction of rotation.

Definition at line 987 of file main.h.

◆ desiredDirection

uint8_t motorflags::desiredDirection

The desired direction of rotation.

Definition at line 989 of file main.h.

◆ driveWaveform

uint8_t motorflags::driveWaveform

The current waveform that should be produced.

Definition at line 991 of file main.h.

◆ enable

uint8_t motorflags::enable

Is the motor enabled?

Definition at line 985 of file main.h.

◆ remote

uint8_t motorflags::remote

Is the remote enabled?

Definition at line 983 of file main.h.

◆ speedControllerRun

uint8_t motorflags::speedControllerRun

Should speed controller run?

Definition at line 981 of file main.h.


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