Struct PinCnf
#[repr(transparent)]pub struct PinCnf(pub u32);Expand description
Description collection: Pin n configuration of GPIO pin.
Tuple Fields§
§0: u32Implementations§
§impl PinCnf
impl PinCnf
pub const fn set_drive0(&mut self, val: Drive)
pub const fn set_drive0(&mut self, val: Drive)
Drive configuration for ‘0’.
pub const fn set_drive1(&mut self, val: Drive)
pub const fn set_drive1(&mut self, val: Drive)
Drive configuration for ‘1’.
pub const fn set_ctrlsel(&mut self, val: Ctrlsel)
pub const fn set_ctrlsel(&mut self, val: Ctrlsel)
Select which module has direct control over this pin.
Trait Implementations§
impl Copy for PinCnf
impl Eq for PinCnf
impl StructuralPartialEq for PinCnf
Auto Trait Implementations§
impl Freeze for PinCnf
impl RefUnwindSafe for PinCnf
impl Send for PinCnf
impl Sync for PinCnf
impl Unpin for PinCnf
impl UnsafeUnpin for PinCnf
impl UnwindSafe for PinCnf
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