Skip to main content

autocore_std/iface/
mod.rs

1//! # Interface Protocols
2//!
3//! Reusable interface protocols for communication between control programs and
4//! external sources (UI, HMI, other modules) via shared memory.
5//!
6//! Unlike [function blocks](crate::fb) which are cyclical IEC 61131-3 primitives,
7//! these are stateful protocol handlers that manage handshake sequences over
8//! shared memory fields.
9//!
10//! ## Available Interfaces
11//!
12//! | Interface | Description |
13//! |-----------|-------------|
14//! | [`CommandInterface`] | Request/acknowledge command handshake (CANopen/EtherCAT style) |
15
16mod command_interface;
17
18pub use command_interface::{CommandInterface, CommandInterfaceView, CommandStatus, CommandRequest};