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 fault flags. More...

#include <main.h>

Public Attributes

uint8_t reserved: 1
 Reserved bit(s).
 
uint8_t reverseDirection: 1
 Is motor spinning in an unexpected direction?
 
uint8_t motorStopped: 1
 Is motor stopped?
 
uint8_t overCurrent: 1
 Has it tripped the over current limit?
 
uint8_t noHallConnections: 1
 Is there no hall connections?
 
uint8_t userFlag1: 1
 Is user flag 1 set?
 
uint8_t userFlag2: 1
 Is user flag 2 set?
 
uint8_t userFlag3: 1
 Is user flag 3 set?
 

Detailed Description

Collection of all fault flags.

This struct contains all fault flags used in this implementation.

Definition at line 998 of file main.h.

Member Data Documentation

◆ motorStopped

uint8_t faultflags::motorStopped

Is motor stopped?

Definition at line 1005 of file main.h.

◆ noHallConnections

uint8_t faultflags::noHallConnections

Is there no hall connections?

Definition at line 1009 of file main.h.

◆ overCurrent

uint8_t faultflags::overCurrent

Has it tripped the over current limit?

Definition at line 1007 of file main.h.

◆ reserved

uint8_t faultflags::reserved

Reserved bit(s).

Definition at line 1001 of file main.h.

◆ reverseDirection

uint8_t faultflags::reverseDirection

Is motor spinning in an unexpected direction?

Definition at line 1003 of file main.h.

◆ userFlag1

uint8_t faultflags::userFlag1

Is user flag 1 set?

Definition at line 1011 of file main.h.

◆ userFlag2

uint8_t faultflags::userFlag2

Is user flag 2 set?

Definition at line 1013 of file main.h.

◆ userFlag3

uint8_t faultflags::userFlag3

Is user flag 3 set?

Definition at line 1015 of file main.h.


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