#[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) -> bool
pub const fn insrc(&self) -> bool
Input Source. Next-shifter input is unsupported for the last shifter. Raw bit values: false (0) = Pin: Pin.; true (1) = ShifterNplus1: Shifter n+1 output.
Sourcepub const fn set_insrc(&mut self, val: bool)
pub const fn set_insrc(&mut self, val: bool)
Input Source. Next-shifter input is unsupported for the last shifter. Raw bit values: false (0) = Pin: Pin.; true (1) = ShifterNplus1: Shifter n+1 output.
Sourcepub const fn latst(&self) -> bool
pub const fn latst(&self) -> bool
Late Store. Raw bit values: false (0) = Preshift: Store the pre-shift register state.; true (1) = Postshift: Store the post-shift register state.
Sourcepub const fn set_latst(&mut self, val: bool)
pub const fn set_latst(&mut self, val: bool)
Late Store. Raw bit values: false (0) = Preshift: Store the pre-shift register state.; true (1) = Postshift: Store the post-shift register state.
Sourcepub const fn ssize(&self) -> bool
pub const fn ssize(&self) -> bool
Shifter Size. Raw bit values: false (0) = Width32: 32-bit.; true (1) = Width24: 24-bit.
Sourcepub const fn set_ssize(&mut self, val: bool)
pub const fn set_ssize(&mut self, val: bool)
Shifter Size. Raw bit values: false (0) = Width32: 32-bit.; true (1) = Width24: 24-bit.
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.