darra-ethercat-master 2.3.0

Commercial EtherCAT master protocol stack, real-time kernel driver integration, Windows and Linux support, multi-language SDKs, complex topology and hot-plug support.
Documentation
//! 数据类型模块
//!
//! 包含错误类型、EtherCAT 协议枚举、数据结构和辅助类型。

/// 错误类型定义
pub mod error;

/// EtherCAT 类型定义 (枚举、标志位、格式化)
pub mod types;

/// 数据结构定义 (PDO统计、从站结构、FoE选项等)
pub mod structures;

// 重新导出核心类型
pub use error::{
    CiA402Mode, CiA402State, DarraError, EcState, FoEErrorCode,
    LinkState, RedundancyState, SoEErrorCode, SyncWindowStatus, Result,
};
pub use types::*;
pub use structures::{
    constants, PdoStats, PdoMappingEntry, CommunicationStatsLocal,
    SlaveInfo, RealtimeStats, FoEOptionsLocal, EcGroupConfigHelper,
};