master/ethernet.h
changeset 251 c1d0b63a9302
parent 246 0bf7c769de06
child 279 12f48c1cb143
equal deleted inserted replaced
250:440ae5f6d2c3 251:c1d0b63a9302
    62 /*****************************************************************************/
    62 /*****************************************************************************/
    63 
    63 
    64 typedef struct ec_eoe ec_eoe_t;
    64 typedef struct ec_eoe ec_eoe_t;
    65 
    65 
    66 /**
    66 /**
    67    Ethernet-over-EtherCAT (EoE) Object.
    67    Ethernet-over-EtherCAT (EoE) handler.
    68    The master creates one of these objects for each slave that supports the
    68    The master creates one of these objects for each slave that supports the
    69    EoE protocol.
    69    EoE protocol.
    70 */
    70 */
    71 
    71 
    72 struct ec_eoe
    72 struct ec_eoe
    91     size_t tx_offset; /**< number of octets sent */
    91     size_t tx_offset; /**< number of octets sent */
    92 };
    92 };
    93 
    93 
    94 /*****************************************************************************/
    94 /*****************************************************************************/
    95 
    95 
    96 int ec_eoe_init(ec_eoe_t *, ec_slave_t *);
    96 int ec_eoe_init(ec_eoe_t *);
    97 void ec_eoe_clear(ec_eoe_t *);
    97 void ec_eoe_clear(ec_eoe_t *);
    98 void ec_eoe_run(ec_eoe_t *);
    98 void ec_eoe_run(ec_eoe_t *);
    99 unsigned int ec_eoe_active(const ec_eoe_t *);
    99 unsigned int ec_eoe_active(const ec_eoe_t *);
   100 void ec_eoe_print(const ec_eoe_t *);
   100 void ec_eoe_print(const ec_eoe_t *);
   101 
   101