Function imxrt_dcd::serialize

source ·
pub fn serialize(w: impl Write, commands: &[Command]) -> Result<usize>
Expand description

Serializes given commands as a complete DCD block into a byte stream. Consecutive write commands with the same width and op are automatically combined.

Returns the number of bytes written or error.

Examples

See crate-level doc.