pub struct Motor2Pins {
pub in1: PD3<Output<PushPull>>,
pub in2: PD4<Output<PushPull>>,
pub nsleep: PD2<Output<PushPull>>,
pub disable: PD1<Output<PushPull>>,
pub nfault: PD0<Input<Floating>>,
pub iprop1: PC2<Analog>,
pub iprop2: PC3<Analog>,
}Expand description
Motor 2 control pins
Fields§
§in1: PD3<Output<PushPull>>§in2: PD4<Output<PushPull>>§nsleep: PD2<Output<PushPull>>§disable: PD1<Output<PushPull>>§nfault: PD0<Input<Floating>>§iprop1: PC2<Analog>§iprop2: PC3<Analog>Auto Trait Implementations§
impl Freeze for Motor2Pins
impl RefUnwindSafe for Motor2Pins
impl Send for Motor2Pins
impl Sync for Motor2Pins
impl Unpin for Motor2Pins
impl UnsafeUnpin for Motor2Pins
impl UnwindSafe for Motor2Pins
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more