equal
deleted
inserted
replaced
27 typedef struct EtherCAT_domain |
27 typedef struct EtherCAT_domain |
28 { |
28 { |
29 unsigned int number; /*<< Domänen-Identifikation */ |
29 unsigned int number; /*<< Domänen-Identifikation */ |
30 EtherCAT_command_t command; /**< Kommando zum Senden und Empfangen der |
30 EtherCAT_command_t command; /**< Kommando zum Senden und Empfangen der |
31 Prozessdaten */ |
31 Prozessdaten */ |
32 unsigned char *data; /**< Zeiger auf Speicher mit Prozessdaten */ |
32 unsigned char data[ECAT_FRAME_BUFFER_SIZE]; /**< Prozessdaten-Array */ |
33 unsigned int data_size; /**< Größe des Prozessdatenspeichers */ |
33 unsigned int data_size; /**< Größe der Prozessdaten */ |
34 unsigned int logical_offset; /**< Logische Basisaddresse */ |
34 unsigned int logical_offset; /**< Logische Basisaddresse */ |
35 unsigned int response_count; /**< Anzahl antwortender Slaves */ |
35 unsigned int response_count; /**< Anzahl antwortender Slaves */ |
36 } |
36 } |
37 EtherCAT_domain_t; |
37 EtherCAT_domain_t; |
38 |
38 |
39 /*****************************************************************************/ |
39 /*****************************************************************************/ |
40 |
40 |
41 void EtherCAT_domain_init(EtherCAT_domain_t *); |
41 void EtherCAT_domain_init(EtherCAT_domain_t *); |
42 void EtherCAT_domain_clear(EtherCAT_domain_t *); |
|
43 |
42 |
44 /*****************************************************************************/ |
43 /*****************************************************************************/ |
45 |
44 |
46 #endif |
45 #endif |
47 |
46 |