master/fsm.h
changeset 251 c1d0b63a9302
parent 246 0bf7c769de06
child 260 5fe7df7f2433
--- a/master/fsm.h	Fri May 19 09:56:55 2006 +0000
+++ b/master/fsm.h	Fri May 19 13:23:11 2006 +0000
@@ -76,6 +76,9 @@
     void (*sii_state)(ec_fsm_t *); /**< SII state function */
     uint16_t sii_offset; /**< input: offset in SII */
     uint32_t sii_result; /**< output: read SII value (32bit) */
+
+    void (*change_state)(ec_fsm_t *); /**< slave state change state function */
+    uint8_t change_new; /**< input: new state */
 };
 
 /*****************************************************************************/
@@ -84,7 +87,6 @@
 void ec_fsm_clear(ec_fsm_t *);
 void ec_fsm_reset(ec_fsm_t *);
 void ec_fsm_execute(ec_fsm_t *);
-int ec_fsm_idle(const ec_fsm_t *);
 
 /*****************************************************************************/