Moved a few constants to the files they are needed in.

This commit is contained in:
Florian Pose 2007-03-07 13:12:33 +00:00
parent 89dd4e09b6
commit a5eabfa35d
4 changed files with 21 additions and 15 deletions

View File

@ -48,16 +48,21 @@
#include "mailbox.h"
#include "ethernet.h"
/**
Defines the debug level of EoE processing
/*****************************************************************************/
0 = No debug messages.
1 = Output actions.
2 = Output actions and frame data.
*/
/**
* Defines the debug level of EoE processing.
*
* 0 = No debug messages.
* 1 = Output actions.
* 2 = Output actions and frame data.
*/
#define EOE_DEBUG_LEVEL 0
/** size of the EoE tx queue */
#define EC_EOE_TX_QUEUE_SIZE 100
/*****************************************************************************/
void ec_eoe_flush(ec_eoe_t *);

View File

@ -49,12 +49,6 @@
* EtherCAT master
*****************************************************************************/
/** maximum number of FMMUs per slave */
#define EC_MAX_FMMUS 16
/** size of the EoE tx queue */
#define EC_EOE_TX_QUEUE_SIZE 100
/** clock frequency for the EoE state machines */
#define EC_EOE_FREQUENCY 1000
@ -84,9 +78,6 @@
/** size of an EtherCAT datagram footer */
#define EC_DATAGRAM_FOOTER_SIZE 2
/** size of a sync manager configuration page */
#define EC_SYNC_SIZE 8
/** size of an FMMU configuration page */
#define EC_FMMU_SIZE 16

View File

@ -53,6 +53,11 @@
/*****************************************************************************/
/** maximum number of FMMUs per slave */
#define EC_MAX_FMMUS 16
/*****************************************************************************/
/**
State of an EtherCAT slave.
*/

View File

@ -48,6 +48,11 @@
/*****************************************************************************/
/** size of a sync manager configuration page */
#define EC_SYNC_SIZE 8
/*****************************************************************************/
/**
* Sync manager.
*/