PMSMflags Struct Reference

#include <PMSM.h>


Detailed Description

Collection of all motor control flags.

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

Definition at line 38 of file PMSM.h.

Data Fields

uint8_t actualDirection: 2
 Is motor synchronized? Does not have any meaning when motorStopped is TRUE.
uint8_t desiredDirection: 1
 The actual direction of rotation.
uint8_t driveWaveform: 2
 The desired direction of rotation.
uint8_t motorStopped: 1
uint8_t motorSynchronized: 1
 Is motor stopped?


Field Documentation

uint8_t PMSMflags::actualDirection

Is motor synchronized? Does not have any meaning when motorStopped is TRUE.

Definition at line 42 of file PMSM.h.

Referenced by ActualDirectionUpdate(), main(), and MotorSynchronizedUpdate().

uint8_t PMSMflags::desiredDirection

The actual direction of rotation.

Definition at line 43 of file PMSM.h.

Referenced by main(), and MotorSynchronizedUpdate().

uint8_t PMSMflags::driveWaveform

The desired direction of rotation.

Definition at line 44 of file PMSM.h.

Referenced by main().

uint8_t PMSMflags::motorStopped

Definition at line 40 of file PMSM.h.

Referenced by main(), and MotorSynchronizedUpdate().

uint8_t PMSMflags::motorSynchronized

Is motor stopped?

Definition at line 41 of file PMSM.h.

Referenced by ActualDirectionUpdate(), main(), and MotorSynchronizedUpdate().


Generated on Wed Oct 10 15:31:45 2007 for AVR449 by  doxygen 1.5.2