equal
deleted
inserted
replaced
38 unsigned int rx_data_length; /**< Länge der Daten im Empfangsspeicher */ |
38 unsigned int rx_data_length; /**< Länge der Daten im Empfangsspeicher */ |
39 EtherCAT_domain_t domains[ECAT_MAX_DOMAINS]; /** Prozessdatendomänen */ |
39 EtherCAT_domain_t domains[ECAT_MAX_DOMAINS]; /** Prozessdatendomänen */ |
40 unsigned int domain_count; |
40 unsigned int domain_count; |
41 int debug_level; /**< Debug-Level im Master-Code */ |
41 int debug_level; /**< Debug-Level im Master-Code */ |
42 unsigned int bus_time; /**< Letzte Bus-Zeit in Mikrosekunden */ |
42 unsigned int bus_time; /**< Letzte Bus-Zeit in Mikrosekunden */ |
|
43 unsigned int frames_lost; /**< Anzahl verlorene Frames */ |
|
44 unsigned long t_lost_output; /*<< Timer-Ticks bei der letzten Ausgabe von |
|
45 verlorenen Frames */ |
43 }; |
46 }; |
44 |
47 |
45 /*****************************************************************************/ |
48 /*****************************************************************************/ |
46 |
49 |
47 // Master creation and deletion |
50 // Master creation and deletion |
71 int EtherCAT_process_data_cycle(EtherCAT_master_t *, unsigned int, |
74 int EtherCAT_process_data_cycle(EtherCAT_master_t *, unsigned int, |
72 unsigned int); |
75 unsigned int); |
73 |
76 |
74 // Private functions |
77 // Private functions |
75 void output_debug_data(const EtherCAT_master_t *); |
78 void output_debug_data(const EtherCAT_master_t *); |
|
79 void ecat_output_lost_frames(EtherCAT_master_t *); |
76 |
80 |
77 /*****************************************************************************/ |
81 /*****************************************************************************/ |
78 |
82 |
79 #endif |
83 #endif |
80 |
84 |