[西门子] 从Beckhoff ET1100转向Microchip LAN9252 (二)

[复制链接]
查看77523 | 回复0 | 2024-1-12 22:43:35 | 显示全部楼层 |阅读模式
接上一篇/**
EEPROM_READ_SIZE: Only required if EEPROM emulation is active. This value defines the number of bytes which will be read per opertion. */
#ifndef EEPROM_READ_SIZE
#define EEPROM_READ_SIZE 0x04
#endif

/**
ECAT_TIMER_INT: If this switch is set, then the watchdog time for the EtherCAT watchdog will be checked in a timer interrupt routine. */
#ifndef ECAT_TIMER_INT
#define ECAT_TIMER_INT 1 // This define was already evaluated by ET9300 Project Handler(V. 1.3.3.0)!
#endif

/**
EXPLICIT_DEVICE_ID: If this switch is set Explicit device ID requests are handled. For further information about Explicit Device ID see ETG.1020 specification: www.ethercat.org/MemberArea/download_protocolenhancements.asp */
#ifndef EXPLICIT_DEVICE_ID
#define EXPLICIT_DEVICE_ID 0 // This define was already evaluated by ET9300 Project Handler(V. 1.3.3.0)!
#endif

/**
OBJ_DWORD_ALIGN: Shall be set if the object structures are not Byte aligned and the Code is executed on an 32bit platform */
#ifndef OBJ_DWORD_ALIGN
#define OBJ_DWORD_ALIGN 1
#endif

/**
OBJ_WORD_ALIGN: Shall be set if the object structures are not Byte aligned and the Code is executed on an 16bit platform */
#ifndef OBJ_WORD_ALIGN
#define OBJ_WORD_ALIGN 0
#endif
您需要登录后才可以回帖 登录 | 注册哦

本版积分规则