#[repr(transparent)]pub struct PinCnf(pub u32);
Expand description
Description collection: Pin n configuration of GPIO pin
Tuple Fields§
§0: u32
Implementations§
Source§impl PinCnf
impl PinCnf
Sourcepub fn set_drive0(&mut self, val: Drive)
pub fn set_drive0(&mut self, val: Drive)
Drive configuration for ‘0’
Sourcepub fn set_drive1(&mut self, val: Drive)
pub fn set_drive1(&mut self, val: Drive)
Drive configuration for ‘1’
Sourcepub fn set_ctrlsel(&mut self, val: Ctrlsel)
pub 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)