equal
deleted
inserted
replaced
72 unsigned int sii_mode; /**< SII reading done by APRD (0) or NPRD (1) */ |
72 unsigned int sii_mode; /**< SII reading done by APRD (0) or NPRD (1) */ |
73 uint8_t sii_value[4]; /**< raw SII value (32bit) */ |
73 uint8_t sii_value[4]; /**< raw SII value (32bit) */ |
74 cycles_t sii_start; /**< sii start */ |
74 cycles_t sii_start; /**< sii start */ |
75 |
75 |
76 void (*change_state)(ec_fsm_t *); /**< slave state change state function */ |
76 void (*change_state)(ec_fsm_t *); /**< slave state change state function */ |
77 uint8_t change_new; /**< input: new state */ |
77 ec_slave_state_t change_new; /**< input: new state */ |
78 cycles_t change_start; /**< change start */ |
78 cycles_t change_start; /**< change start */ |
|
79 |
|
80 void (*coe_state)(ec_fsm_t *); /**< CoE state function */ |
|
81 ec_sdo_data_t *sdodata; /**< input/output: SDO data object */ |
|
82 cycles_t coe_start; /**< CoE timestamp */ |
79 }; |
83 }; |
80 |
84 |
81 /*****************************************************************************/ |
85 /*****************************************************************************/ |
82 |
86 |
83 int ec_fsm_init(ec_fsm_t *, ec_master_t *); |
87 int ec_fsm_init(ec_fsm_t *, ec_master_t *); |