master/globals.h
changeset 1420 5eb814732c46
parent 1417 7c2d5d69134c
child 1425 c1322a8793c0
equal deleted inserted replaced
1419:8fc38c37d86e 1420:5eb814732c46
   164     EC_PORT_NOT_CONFIGURED,
   164     EC_PORT_NOT_CONFIGURED,
   165     EC_PORT_EBUS,
   165     EC_PORT_EBUS,
   166     EC_PORT_MII
   166     EC_PORT_MII
   167 } ec_slave_port_desc_t;
   167 } ec_slave_port_desc_t;
   168 
   168 
       
   169 /** EtherCAT slave port information.
       
   170  */
       
   171 typedef struct {
       
   172     uint8_t dl_link; /**< Link detected. */
       
   173     uint8_t dl_loop; /**< Loop closed. */
       
   174     uint8_t dl_signal; /**< Detected signal on RX port. */
       
   175 } ec_slave_port_t;
       
   176 
   169 /** EtherCAT slave distributed clocks range.
   177 /** EtherCAT slave distributed clocks range.
   170  */
   178  */
   171 typedef enum {
   179 typedef enum {
   172     EC_DC_32, /**< 32 bit. */
   180     EC_DC_32, /**< 32 bit. */
   173     EC_DC_64 /*< 64 bit for system time, system time offset and
   181     EC_DC_64 /*< 64 bit for system time, system time offset and