master/fsm_sii.h
branchstable-1.2
changeset 1739 5fcbd29151d2
parent 1732 1cc865ba17c2
child 1744 7bc131b92039
equal deleted inserted replaced
1738:bc89e3fba1a5 1739:5fcbd29151d2
    65 
    65 
    66 struct ec_fsm_sii
    66 struct ec_fsm_sii
    67 {
    67 {
    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 
    71 
    71     void (*state)(ec_fsm_sii_t *); /**< SII state function */
    72     void (*state)(ec_fsm_sii_t *); /**< SII state function */
    72     uint16_t offset; /**< input: offset in SII */
    73     uint16_t offset; /**< input: offset in SII */
    73     ec_fsm_sii_addressing_t mode; /**< reading via APRD or NPRD */
    74     ec_fsm_sii_addressing_t mode; /**< reading via APRD or NPRD */
    74     uint8_t value[4]; /**< raw SII value (32bit) */
    75     uint8_t value[4]; /**< raw SII value (32bit) */