#[repr(transparent)]pub struct Shiftcfg(pub u32);Expand description
Shifter Configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl Shiftcfg
impl Shiftcfg
Sourcepub const fn set_sstart(&mut self, val: Sstart)
pub const fn set_sstart(&mut self, val: Sstart)
Shifter Start.
Sourcepub const fn insrc(&self) -> Insrc
pub const fn insrc(&self) -> Insrc
Input Source. Next-shifter input is unsupported for the last shifter.
Sourcepub const fn set_insrc(&mut self, val: Insrc)
pub const fn set_insrc(&mut self, val: Insrc)
Input Source. Next-shifter input is unsupported for the last shifter.
Sourcepub const fn pwidth(&self) -> u8
pub const fn pwidth(&self) -> u8
Parallel Width. Encoding bins and the 24-bit shifter size matter; do not assume width equals encoding+1 in every mode. Parallel transmit is supported only on shifter0, parallel receive only on shifter3.
Sourcepub const fn set_pwidth(&mut self, val: u8)
pub const fn set_pwidth(&mut self, val: u8)
Parallel Width. Encoding bins and the 24-bit shifter size matter; do not assume width equals encoding+1 in every mode. Parallel transmit is supported only on shifter0, parallel receive only on shifter3.
Trait Implementations§
impl Copy for Shiftcfg
impl Eq for Shiftcfg
impl StructuralPartialEq for Shiftcfg
Auto Trait Implementations§
impl Freeze for Shiftcfg
impl RefUnwindSafe for Shiftcfg
impl Send for Shiftcfg
impl Sync for Shiftcfg
impl Unpin for Shiftcfg
impl UnwindSafe for Shiftcfg
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