Labor04
|
FSM for VCR. More...
#include "ES2_V4_app.h"
Functions | |
_Bool | bFsmVCRInitialize (void) |
init VCR FSM More... | |
_Bool | bFsmVCRDispatchEvent (int32_t s32Event) |
dispatch event VCR FSM More... | |
_Bool | bFsmVCRIsStateChanged () |
check if state changed More... | |
int32_t | s32FsmVCRGetState () |
get FSM state More... | |
const char * | pcFsmVCRGetStateName () |
get FSM state name More... | |
void | vEntry_sStandby (void) |
entry for sStandby More... | |
void | vEntry_sRecord (void) |
entry for sRecord More... | |
void | vExit_sRecord (void) |
exit for sRecord More... | |
void | vEntry_sPlay (void) |
entry for sPlay More... | |
void | vExit_sPlay (void) |
exit for sPlay More... | |
void | vEntry_sRewind (void) |
entry for sRewind More... | |
void | vExit_sRewind (void) |
entry for sRewind More... | |
void | vEntry_sFastForward (void) |
entry for sFastForward More... | |
void | vExit_sFastForward (void) |
exit for sFastForward More... | |
_Bool | bGuard_tapein_andnot_atend (void) |
guard for Tape in and not at end More... | |
_Bool | bGuard_tapein_andnot_atbegin (void) |
guard for Tape in and not at begin More... | |
Variables | |
sStateMachine_t | sFsmVCR |
static const char * | pcFsmVCRstates_names [] = {"Standby","Record","Play","Rewind","Fastforward", "LastStateVCR"} |
sStateTransitions_t | asEventsFsmVCRStandby [] |
sStateTransitions_t | asEventsFsmVCRRecord [] |
sStateTransitions_t | asEventsFsmVCRSPlay [] |
sStateTransitions_t | asEventsFsmVCRRewind [] |
sStateTransitions_t | asEventsFsmVCRFastForward [] |
sStateTable_t | asFsmVCRStates [] |
FSM for VCR.
Header FSM for VCR.
This file contains the FSM for VCR.
This file contains the Header FSM for VCR.
bFsmVCRDispatchEvent | ( | int32_t | s32Event | ) |
dispatch event VCR FSM
Sends an event to the state machine.
FSM | event |
bFsmVCRInitialize | ( | void | ) |
init VCR FSM
Wrapper function to statemachine_init().
void |
bFsmVCRIsStateChanged | ( | void | ) |
check if state changed
Indicates if a state changed happend.
voids |
bGuard_tapein_andnot_atbegin | ( | void | ) |
guard for Tape in and not at begin
void |
bGuard_tapein_andnot_atend | ( | void | ) |
guard for Tape in and not at end
void |
pcFsmVCRGetStateName | ( | void | ) |
get FSM state name
Get the name of the current state.
void |
s32FsmVCRGetState | ( | void | ) |
get FSM state
Returns the current state of the fsm.
voids |
vEntry_sFastForward | ( | void | ) |
entry for sFastForward
void |
vEntry_sPlay | ( | void | ) |
entry for sPlay
void |
vEntry_sRecord | ( | void | ) |
entry for sRecord
void |
vEntry_sRewind | ( | void | ) |
entry for sRewind
void |
vEntry_sStandby | ( | void | ) |
entry for sStandby
void |
vExit_sFastForward | ( | void | ) |
exit for sFastForward
void |
vExit_sPlay | ( | void | ) |
exit for sPlay
void |
vExit_sRecord | ( | void | ) |
exit for sRecord
void |
vExit_sRewind | ( | void | ) |
entry for sRewind
void |
sStateTransitions_t asEventsFsmVCRFastForward[] |
sStateTransitions_t asEventsFsmVCRRecord[] |
sStateTransitions_t asEventsFsmVCRRewind[] |
sStateTransitions_t asEventsFsmVCRSPlay[] |
sStateTransitions_t asEventsFsmVCRStandby[] |
sStateTable_t asFsmVCRStates[] |
|
static |
sStateMachine_t sFsmVCR |