70 void (*sii_state)(ec_fsm_t *); /**< SII state function */ |
70 void (*sii_state)(ec_fsm_t *); /**< SII state function */ |
71 uint16_t sii_offset; /**< input: offset in SII */ |
71 uint16_t sii_offset; /**< input: offset in SII */ |
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 uint8_t sii_check_once_more; /**< do one more check in case of timeout */ |
75 uint8_t sii_check_once_more; /**< one more try after timeout */ |
76 |
76 |
77 void (*change_state)(ec_fsm_t *); /**< slave state change state function */ |
77 void (*change_state)(ec_fsm_t *); /**< slave state change state function */ |
78 ec_slave_state_t change_new; /**< input: new state */ |
78 ec_slave_state_t change_new; /**< input: new state */ |
79 unsigned long change_jiffies; /**< change timer */ |
79 unsigned long change_jiffies; /**< change timer */ |
|
80 uint8_t change_take_time; /**< take sending timestamp */ |
80 |
81 |
81 void (*coe_state)(ec_fsm_t *); /**< CoE state function */ |
82 void (*coe_state)(ec_fsm_t *); /**< CoE state function */ |
82 ec_sdo_data_t *sdodata; /**< input/output: SDO data object */ |
83 ec_sdo_data_t *sdodata; /**< input/output: SDO data object */ |
83 cycles_t coe_start; /**< CoE timestamp */ |
84 cycles_t coe_start; /**< CoE timestamp */ |
84 }; |
85 }; |