Crate milstd1553b_parser

Crate milstd1553b_parser 

Source
Expand description

§MIL-STD-1553B Protocol Parser

A comprehensive Rust library for parsing and handling MIL-STD-1553B military data bus protocol.

MIL-STD-1553B is a serial synchronous data bus specification used in military avionics and aerospace systems. This library provides:

  • Encoding/decoding of Manchester-encoded data
  • Message parsing and construction
  • Protocol validation
  • Error handling

§Features

  • serde: Enable serialization/deserialization support

§Example

use milstd1553b_parser::{Word, WordType};

// Create a data word
let word = Word::new(0x1234, WordType::Data)?;
println!("Word: {:?}", word);

Re-exports§

pub use core::Address;
pub use core::Word;
pub use core::WordType;
pub use error::ParseError;
pub use error::Result;
pub use message::Command;
pub use message::Message;
pub use parser::Parser;

Modules§

core
Core types and structures for MIL-STD-1553B protocol
encoding
Manchester encoding and decoding for MIL-STD-1553B
error
Error types for MIL-STD-1553B parsing
message
Message types and structures for MIL-STD-1553B protocol
parser
High-level message parser for MIL-STD-1553B protocol
protocol
Protocol-level handling and validation for MIL-STD-1553B
spec
The MIL-STD-1553B specification constants