Stepper-Motor-Control
v3.0.0
System on a Chip 2014 - Group 04
|
Header file for all own data types. More...
Go to the source code of this file.
Classes | |
struct | systemState |
Struct to store state of system and use case information. More... | |
struct | outputTaskData |
Datatype of global variable for transmitting information from InputTask to OutputTask. More... | |
Typedefs | |
typedef enum state | state_t |
general state of system | |
typedef enum useCases | useCases_t |
general state of system | |
typedef struct systemState | systemState_t |
Struct to store state of system and use case information. | |
typedef enum direction | direction_t |
Motor direction. | |
typedef struct outputTaskData | outputTaskData_t |
Datatype of global variable for transmitting information from InputTask to OutputTask. | |
typedef enum heartbeatState | heartbeatState_t |
The state-machine for the heartbeat. More... | |
Enumerations | |
enum | state { ERROR = 0, FUNCTIONAL = 1, DEBUG = 2 } |
general state of system More... | |
enum | useCases { STOP = 0, QUARTER_ROTATION = 1, HALF_ROTATION = 2, FULL_ROTATION = 3, DOUBLE_ROTATION = 4, CONTINOUS = 5 } |
general state of system More... | |
enum | direction { LEFT = 0, RIGHT = 1 } |
Motor direction. | |
enum | heartbeatState { FIRST = 1, SECOND = 2, THIRD = 3, FOURTH = 4 } |
The state-machine for the heartbeat. More... | |
Header file for all own data types.
v1.0.0 13.11.2014 Kossmann
Definition in file dataTypes.h.
typedef enum heartbeatState heartbeatState_t |
The state-machine for the heartbeat.
state | red LED9 | HEX3-display |
---|---|---|
FIRST | on | LINE |
SECOND | off | LOWER_O |
THIRD | on | LINE |
FOURTH | off | UPPDER_O |
enum heartbeatState |
The state-machine for the heartbeat.
state | red LED9 | HEX3-display |
---|---|---|
FIRST | on | LINE |
SECOND | off | LOWER_O |
THIRD | on | LINE |
FOURTH | off | UPPDER_O |
Definition at line 66 of file dataTypes.h.
enum state |
general state of system
Enumerator | |
---|---|
ERROR |
system is not working properly |
FUNCTIONAL |
everything is full functional |
DEBUG |
debugging is active |
Definition at line 20 of file dataTypes.h.
enum useCases |
general state of system
Definition at line 27 of file dataTypes.h.