Labor04
|
Header FSM for Tape. More...
#include "ES2_V4_app.h"
Go to the source code of this file.
Typedefs | |
typedef enum fsmTapeevents | eEventsTape_t |
Enumeration holds all possible events for this state machine. More... | |
typedef enum fsmTapestates | eStatesTape_t |
Enumeration holds all defined states for video recorder state machine. More... | |
Enumerations | |
enum | fsmTapeevents { evBegin = 0, evInOut, evEnd, EV_LAST_TAPE } |
Enumeration holds all possible events for this state machine. More... | |
enum | fsmTapestates { sTapeOut = 0, sTapeBegin, sTapeEnd, sTapeBetween, STATE_LAST_TAPE } |
Enumeration holds all defined states for video recorder state machine. More... | |
Functions | |
_Bool | bFsmTapeInitialize (void) |
Wrapper function to statemachine_init(). More... | |
_Bool | bFsmTapeDispatchEvent (int32_t event) |
Sends an event to the state machine. More... | |
int32_t | s32FsmTapeGetState (void) |
Returns the current state of the fsm. More... | |
_Bool | bFsmTapeIsStateChanged (void) |
Indicates if a state changed happend. More... | |
const char * | pcFsmTapeGetStateName (void) |
Get the name of the current state. More... | |
void | vEntry_sTapeBegin (void) |
entry for sTapeBegin More... | |
void | vEntry_sTapeBetween (void) |
entry for sTapeBetween More... | |
void | vEntry_sTapeEnd (void) |
entry for sTapeEnd More... | |
void | vEntry_sTapeOut (void) |
entry for sTapeOut More... | |
Header FSM for Tape.
This file contains the Header FSM for Tape.
typedef enum fsmTapeevents eEventsTape_t |
Enumeration holds all possible events for this state machine.
typedef enum fsmTapestates eStatesTape_t |
Enumeration holds all defined states for video recorder state machine.
enum fsmTapeevents |
enum fsmTapestates |
_Bool bFsmTapeDispatchEvent | ( | int32_t | s32Event | ) |
Sends an event to the state machine.
This functions wrapps the statemachine_dispatchEvent() function, overgives the event id and returns the return value of statemachine_dispatchEvent().
event | Event for the state machine. |
Sends an event to the state machine.
void |
_Bool bFsmTapeInitialize | ( | void | ) |
Wrapper function to statemachine_init().
Initializes the state machine with the state table, the number of states and events and the start state. Returns the return value of the statemachine_init() function.
Wrapper function to statemachine_init().
void |
_Bool bFsmTapeIsStateChanged | ( | void | ) |
Indicates if a state changed happend.
This function returns a TRUE if the state of the fsm changed initiated by the last event
Indicates if a state changed happend.
voids |
const char* pcFsmTapeGetStateName | ( | void | ) |
Get the name of the current state.
Get the name of the current state.
void |
int32_t s32FsmTapeGetState | ( | void | ) |
Returns the current state of the fsm.
Returns the current state of the fsm.
voids |
void vEntry_sTapeBegin | ( | void | ) |
entry for sTapeBegin
void |
void vEntry_sTapeBetween | ( | void | ) |
entry for sTapeBetween
void |
void vEntry_sTapeEnd | ( | void | ) |
entry for sTapeEnd
void |
void vEntry_sTapeOut | ( | void | ) |
entry for sTapeOut
void |