master/master.h
changeset 664 18c48cb7de06
parent 661 bc1de1362efb
child 715 f12ff7c08623
equal deleted inserted replaced
663:38d9c37664d9 664:18c48cb7de06
   135     int debug_level; /**< master debug level */
   135     int debug_level; /**< master debug level */
   136     ec_stats_t stats; /**< cyclic statistics */
   136     ec_stats_t stats; /**< cyclic statistics */
   137     unsigned int pdo_slaves_offline; /** number of slaves, for which PDOs
   137     unsigned int pdo_slaves_offline; /** number of slaves, for which PDOs
   138                                        were registered and that are offline
   138                                        were registered and that are offline
   139                                        (used for bus status) */
   139                                        (used for bus status) */
       
   140     unsigned int frames_timed_out; /**< there were frame timeouts in the last
       
   141                                      call to ecrt_master_receive() */
   140 
   142 
   141     int thread_id; /**< master thread PID */
   143     int thread_id; /**< master thread PID */
   142     struct completion thread_exit; /**< thread completion object */
   144     struct completion thread_exit; /**< thread completion object */
   143     uint32_t idle_cycle_times[HZ]; /**< Idle cycle times ring */
   145     uint32_t idle_cycle_times[HZ]; /**< Idle cycle times ring */
   144     unsigned int idle_cycle_time_pos; /**< time ring buffer position */
   146     unsigned int idle_cycle_time_pos; /**< time ring buffer position */