#[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) -> bool
pub const fn pinpol(&self) -> bool
Shifter Pin Polarity. Raw bit values: false (0) = ActiveHigh: Active high.; true (1) = ActiveLow: Active low.
Sourcepub const fn set_pinpol(&mut self, val: bool)
pub const fn set_pinpol(&mut self, val: bool)
Shifter Pin Polarity. Raw bit values: false (0) = ActiveHigh: Active high.; true (1) = ActiveLow: Active low.
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 timpol(&self) -> bool
pub const fn timpol(&self) -> bool
Timer Polarity. Raw bit values: false (0) = Posedge: Positive edge.; true (1) = Negedge: Negative edge.
Sourcepub const fn set_timpol(&mut self, val: bool)
pub const fn set_timpol(&mut self, val: bool)
Timer Polarity. Raw bit values: false (0) = Posedge: Positive edge.; true (1) = Negedge: Negative edge.
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