equal
deleted
inserted
replaced
34 uint8_t command_index; /**< Aktueller Kommando-Index */ |
34 uint8_t command_index; /**< Aktueller Kommando-Index */ |
35 ec_domain_t *domains[EC_MASTER_MAX_DOMAINS]; /**< Prozessdatendomänen */ |
35 ec_domain_t *domains[EC_MASTER_MAX_DOMAINS]; /**< Prozessdatendomänen */ |
36 unsigned int domain_count; /**< Anzahl Domänen */ |
36 unsigned int domain_count; /**< Anzahl Domänen */ |
37 int debug_level; /**< Debug-Level im Master-Code */ |
37 int debug_level; /**< Debug-Level im Master-Code */ |
38 unsigned int bus_time; /**< Letzte Bus-Zeit in Mikrosekunden */ |
38 unsigned int bus_time; /**< Letzte Bus-Zeit in Mikrosekunden */ |
39 unsigned int frames_lost; /**< Anzahl verlorene Frames */ |
39 unsigned int frames_lost; /**< Anzahl verlorener Frames */ |
40 unsigned long t_lost_output; /**< Timer-Ticks bei der letzten Ausgabe von |
40 unsigned int frames_delayed; /**< Anzahl verzögerter Frames */ |
41 verlorenen Frames */ |
41 unsigned long t_last_cyclic_output; /**< Timer-Ticks bei den letzten |
|
42 zyklischen Ausgaben */ |
42 }; |
43 }; |
43 |
44 |
44 /*****************************************************************************/ |
45 /*****************************************************************************/ |
45 |
46 |
46 // Master creation and deletion |
47 // Master creation and deletion |
57 int ec_scan_for_slaves(ec_master_t *); |
58 int ec_scan_for_slaves(ec_master_t *); |
58 ec_slave_t *ec_address(const ec_master_t *, const char *); |
59 ec_slave_t *ec_address(const ec_master_t *, const char *); |
59 |
60 |
60 // Misc |
61 // Misc |
61 void ec_output_debug_data(const ec_master_t *); |
62 void ec_output_debug_data(const ec_master_t *); |
62 void ec_output_lost_frames(ec_master_t *); |
63 void ec_cyclic_output(ec_master_t *); |
63 |
64 |
64 /*****************************************************************************/ |
65 /*****************************************************************************/ |
65 |
66 |
66 #endif |
67 #endif |
67 |
68 |