equal
deleted
inserted
replaced
21 #define EC_COMMAND_HEADER_SIZE 10 /**< Größe eines EtherCAT-Kommando-Headers */ |
21 #define EC_COMMAND_HEADER_SIZE 10 /**< Größe eines EtherCAT-Kommando-Headers */ |
22 #define EC_COMMAND_FOOTER_SIZE 2 /**< Größe eines EtherCAT-Kommando-Footers */ |
22 #define EC_COMMAND_FOOTER_SIZE 2 /**< Größe eines EtherCAT-Kommando-Footers */ |
23 #define EC_SYNC_SIZE 8 /**< Größe einer Sync-Manager-Konfigurationsseite */ |
23 #define EC_SYNC_SIZE 8 /**< Größe einer Sync-Manager-Konfigurationsseite */ |
24 #define EC_FMMU_SIZE 16 /**< Größe einer FMMU-Konfigurationsseite */ |
24 #define EC_FMMU_SIZE 16 /**< Größe einer FMMU-Konfigurationsseite */ |
25 #define EC_MAX_FMMUS 16 /**< Maximale Anzahl FMMUs pro Slave */ |
25 #define EC_MAX_FMMUS 16 /**< Maximale Anzahl FMMUs pro Slave */ |
|
26 |
|
27 #define EC_MAX_DATA_SIZE (EC_MAX_FRAME_SIZE \ |
|
28 - EC_FRAME_HEADER_SIZE \ |
|
29 - EC_COMMAND_HEADER_SIZE \ |
|
30 - EC_COMMAND_FOOTER_SIZE) /**< Maximale Datengröße */ |
26 |
31 |
27 #define EC_MASTER_MAX_DOMAINS 10 /**< Maximale Anzahl Domänen eines Masters */ |
32 #define EC_MASTER_MAX_DOMAINS 10 /**< Maximale Anzahl Domänen eines Masters */ |
28 |
33 |
29 #ifndef NULL |
34 #ifndef NULL |
30 #define NULL ((void *) 0) /**< NULL-Define, falls noch nicht definiert. */ |
35 #define NULL ((void *) 0) /**< NULL-Define, falls noch nicht definiert. */ |