allegro_motor_drivers/a4910/regs/run.rs
1//! Run configuration register
2
3use allegro_motor_derive::AllegroRegister;
4use bilge::prelude::*;
5
6#[derive(AllegroRegister)]
7#[bitsize(13)]
8#[derive(PartialEq, Copy, Clone, DebugBits, DefaultBits, FromBits)]
9pub struct Run {
10 pub cl: bool,
11 pub ch: bool,
12 pub bl: bool,
13 pub bh: bool,
14 pub al: bool,
15 pub ah: bool,
16 reserved: u7,
17}