master/fsm_sii.h
changeset 755 178353fc47e5
parent 754 0b47b49c5976
child 758 8fa6f825eb7d
equal deleted inserted replaced
754:0b47b49c5976 755:178353fc47e5
    68     ec_slave_t *slave; /**< slave the FSM runs on */
    68     ec_slave_t *slave; /**< slave the FSM runs on */
    69     ec_datagram_t *datagram; /**< datagram used in the state machine */
    69     ec_datagram_t *datagram; /**< datagram used in the state machine */
    70     unsigned int retries; /**< retries upon datagram timeout */
    70     unsigned int retries; /**< retries upon datagram timeout */
    71 
    71 
    72     void (*state)(ec_fsm_sii_t *); /**< SII state function */
    72     void (*state)(ec_fsm_sii_t *); /**< SII state function */
    73     uint16_t offset; /**< input: offset in SII */
    73     uint16_t word_offset; /**< input: word offset in SII */
    74     ec_fsm_sii_addressing_t mode; /**< reading via APRD or NPRD */
    74     ec_fsm_sii_addressing_t mode; /**< reading via APRD or NPRD */
    75     uint8_t value[4]; /**< raw SII value (32bit) */
    75     uint8_t value[4]; /**< raw SII value (32bit) */
    76     cycles_t cycles_start; /**< start timestamp */
    76     cycles_t cycles_start; /**< start timestamp */
    77     uint8_t check_once_more; /**< one more try after timeout */
    77     uint8_t check_once_more; /**< one more try after timeout */
    78 };
    78 };