darra-ethercat-master 2.0.6

商业 EtherCAT 主站协议栈 · 实时内核驱动 · 抖动 1µs · Windows + Linux · 多编程语言 · 全协议 · 支持复杂拓扑 + 热插拔 · ethercat.darra.xyz · Commercial EtherCAT Master protocol stack · Real-time kernel driver · 1µs jitter · Multi-platform · Multi-language · Complex topology + hot-plug.
//! 数据类型模块
//!
//! 包含错误类型、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,
};