16 #ifndef __DATATYPES_H__
17 #define __DATATYPES_H__
67 FIRST = 1, SECOND = 2, THIRD = 3, FOURTH = 4
enum heartbeatState heartbeatState_t
The state-machine for the heartbeat.
Struct to store state of system and use case information.
heartbeatState
The state-machine for the heartbeat.
uint8_t ctrlReg
copy control register
useCases
general state of system
Motor turning one rotation.
state_t operationalStatus
operational status
everything is full functional
uint8_t speedReg
copy of speed register
systemState_t systemState
stores state of system
Motor turning 1/2 rotation.
Motor is continously running.
enum state state_t
general state of system
struct outputTaskData outputTaskData_t
Datatype of global variable for transmitting information from InputTask to OutputTask.
Motor turning 1/4 rotation.
direction
Motor direction.
enum useCases useCases_t
general state of system
enum direction direction_t
Motor direction.
state
general state of system
system is not working properly
uint32_t stepsReg
copy of steps register
Motor turning two rotation.
useCases_t activeUseCase
active use case
struct systemState systemState_t
Struct to store state of system and use case information.
Datatype of global variable for transmitting information from InputTask to OutputTask.