Kinetis SDK v.1.2 Demo Applications User's Guide  Rev. 0
Freescale Semiconductor, Inc.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
M1_StateMachine.h File Reference

Basic state machine sample code. More...

#include "state_machine.h"
#include "fsl_mmdvsq_hal.h"

Go to the source code of this file.

Functions

void M1_Fault (int intValue)
 Fault function. More...
 
void M1_SetAppSwitch (int intValue)
 Set the app switch function. More...
 
int M1_GetAppSwitch (void)
 Read the app switch function. More...
 

Variables

SM_APP_CTRL_T gsM1_Ctrl
 The state machine structure declaration. More...
 

Detailed Description

Author
STSP001
Version
1.0.2.0
Date
Oct-9-2013

This code contains the state machine functions:

  • FAULT
  • INIT
  • STOP
  • RUN

Function Documentation

void M1_Fault ( int  intValue)
int M1_GetAppSwitch ( void  )
void M1_SetAppSwitch ( int  intValue)

Variable Documentation

SM_APP_CTRL_T gsM1_Ctrl

The state machine structure declaration.