#[repr(transparent)]pub struct Shiftctl(pub u32);Expand description
Shifter Control
Tuple Fields§
§0: u32Implementations§
Source§impl Shiftctl
impl Shiftctl
Sourcepub const fn pinpol(&self) -> ShiftctlPinpol
pub const fn pinpol(&self) -> ShiftctlPinpol
Shifter Pin Polarity
Sourcepub const fn set_pinpol(&mut self, val: ShiftctlPinpol)
pub const fn set_pinpol(&mut self, val: ShiftctlPinpol)
Shifter Pin Polarity
Sourcepub const fn set_pinsel(&mut self, val: u8)
pub const fn set_pinsel(&mut self, val: u8)
Shifter Pin Select
Sourcepub const fn pincfg(&self) -> ShiftctlPincfg
pub const fn pincfg(&self) -> ShiftctlPincfg
Shifter Pin Configuration
Sourcepub const fn set_pincfg(&mut self, val: ShiftctlPincfg)
pub const fn set_pincfg(&mut self, val: ShiftctlPincfg)
Shifter Pin Configuration
Sourcepub const fn set_timpol(&mut self, val: Timpol)
pub const fn set_timpol(&mut self, val: Timpol)
Timer Polarity
Sourcepub const fn set_timsel(&mut self, val: u8)
pub const fn set_timsel(&mut self, val: u8)
Timer Select
Trait Implementations§
impl Copy for Shiftctl
impl Eq for Shiftctl
impl StructuralPartialEq for Shiftctl
Auto Trait Implementations§
impl Freeze for Shiftctl
impl RefUnwindSafe for Shiftctl
impl Send for Shiftctl
impl Sync for Shiftctl
impl Unpin for Shiftctl
impl UnwindSafe for Shiftctl
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