uint32_t param1
Definition: displaytask.h:67
_Bool bFsmframeworkDispatchEvent(psStateMachine_t psStateMachine, int32_t s32Event)
Dispatch Event.
Definition: FsmFramework.c:47
enum DisplayCommand eDisplayCommand
Definition: displaytask.h:99
fsmTapestates
Enumeration holds all defined states for video recorder state machine.
Definition: FsmTape.h:35
global header file for project
sStateTransitions_t asEventsFsmTapeEnd[]
Definition: FsmTape.c:28
All nesseccary data for a state machine.
Definition: FsmFramework.h:145
void vEntry_sTapeEnd(void)
entry for sTapeEnd
Definition: FsmTape.c:187
char * param2
Definition: displaytask.h:68
@ evBegintape
Definition: FsmVCR.h:28
sStateTable_t asFsmTapeStates[]
Definition: FsmTape.c:40
void vEntry_sTapeEnd(void)
entry for sTapeEnd
Definition: FsmTape.c:187
int32_t s32FsmframeworkGetState(psStateMachine_t psStateMachine)
Get the actual state of a statemachine.
Definition: FsmFramework.c:134
_Bool bFsmTapeInitialize(void)
Wrapper function to statemachine_init().
Definition: FsmTape.c:55
@ evBegin
Definition: FsmTape.h:23
_Bool bFsmTapeIsStateChanged(void)
Indicates if a state changed happend.
Definition: FsmTape.c:81
#define pdPASS
Definition: projdefs.h:48
@ sTapeBegin
Definition: FsmTape.h:37
uint32_t TickType_t
Definition: portmacro.h:64
@ STATE_LAST_TAPE
Definition: FsmTape.h:40
@ evTapeout
Definition: FsmVCR.h:30
const char * pcFsmTapeGetStateName()
get FSM state name
Definition: FsmTape.c:107
int32_t s32FsmTapeGetState(void)
Returns the current state of the fsm.
Definition: FsmTape.c:94
@ FAULT_STATE
Definition: FsmFramework.h:76
union GLCD_Command::@0 uparameters
fsmTapeevents
Enumeration holds all possible events for this state machine.
Definition: FsmTape.h:22
void vEntry_sTapeOut(void)
entry for sTapeOut
Definition: FsmTape.c:125
Definition: displaytask.h:98
@ sTapeBetween
Definition: FsmTape.h:39
@ evEndtape
Definition: FsmVCR.h:29
@ sTapeOut
Definition: FsmTape.h:36
GLCD_FONT GLCD_Font_16x24
void * xQueueVCR
Definition: Globals.c:13
@ evEnd
Definition: FsmTape.h:25
uint32_t param0
Definition: displaytask.h:66
int32_t s32FsmTapeGetState()
get FSM state
Definition: FsmTape.c:94
sStateTransitions_t asEventsFsmTapeBetween[]
Definition: FsmTape.c:34
static const char * pcFsmTapestates_names[]
Definition: FsmTape.c:14
_Bool bFsmTapeDispatchEvent(int32_t s32Event)
dispatch event Tape FSM
Definition: FsmTape.c:68
sStateMachine_t sFsmTape
Definition: FsmTape.c:12
@ evInOut
Definition: FsmTape.h:24
_Bool bFsmTapeInitialize(void)
init Tape FSM
Definition: FsmTape.c:55
State table holds states and corresponding event tables.
Definition: FsmFramework.h:128
struct GLCD_Param_2_uint32_t_char_p sparam_2_uint32_t_const_char_p
Definition: displaytask.h:108
void vEntry_sTapeBegin(void)
entry for sTapeBegin
Definition: FsmTape.c:156
void vEntry_sTapeBetween(void)
entry for sTapeBetween
Definition: FsmTape.c:218
const char * pcFsmTapeGetStateName(void)
Get the name of the current state.
Definition: FsmTape.c:107
sStateTransitions_t asEventsFsmTapeBegin[]
Definition: FsmTape.c:22
@ sTapeEnd
Definition: FsmTape.h:38
_Bool bFsmTapeIsStateChanged()
check if state changed
Definition: FsmTape.c:81
Event table holds events that can generate a state transition.
Definition: FsmFramework.h:111
@ EV_LAST_TAPE
Definition: FsmTape.h:26
void * xQueueDisplay
Definition: Globals.c:15
enum fsmTapestates eStatesTape_t
Enumeration holds all defined states for video recorder state machine.
void vEntry_sTapeBegin(void)
entry for sTapeBegin
Definition: FsmTape.c:156
void vEntry_sTapeOut(void)
entry for sTapeOut
Definition: FsmTape.c:125
@ cmd_GLCD_DrawString
Definition: displaytask.h:20
_Bool bFsmTapeDispatchEvent(int32_t event)
Sends an event to the state machine.
Definition: FsmTape.c:68
_Bool bFsmframeworkIsStateChanged(psStateMachine_t psStateMachine)
Get the statechanged flag. 1 if last event changed the state, 0 if last event did not changed the sta...
Definition: FsmFramework.c:139
enum fsmTapeevents eEventsTape_t
Enumeration holds all possible events for this state machine.
#define xQueueSend(xQueue, pvItemToQueue, xTicksToWait)
Definition: queue.h:478
void vEntry_sTapeBetween(void)
entry for sTapeBetween
Definition: FsmTape.c:218
_Bool bFsmframeworkInitialize(psStateMachine_t psStateMachine, psStateTable_t psStateTable, int32_t s32StartState, uint32_t u32StateCount, uint32_t u32EventCount, vCallback_t vInitCallback)
Initialization of the State Machine.
Definition: FsmFramework.c:6
sStateTransitions_t asEventsFsmTapeOut[]
Definition: FsmTape.c:16