Struct rp_pac::hstx_ctrl::regs::ExpandShift
source · #[repr(transparent)]pub struct ExpandShift(pub u32);
Expand description
Configure the optional shifter inside the command expander
Tuple Fields§
§0: u32
Implementations§
source§impl ExpandShift
impl ExpandShift
sourcepub const fn raw_shift(&self) -> u8
pub const fn raw_shift(&self) -> u8
How many bits to right-rotate the shift register by each time data is pushed to the output shifter, when the current command is a raw data command.
sourcepub fn set_raw_shift(&mut self, val: u8)
pub fn set_raw_shift(&mut self, val: u8)
How many bits to right-rotate the shift register by each time data is pushed to the output shifter, when the current command is a raw data command.
sourcepub const fn raw_n_shifts(&self) -> u8
pub const fn raw_n_shifts(&self) -> u8
Number of times to consume from the shift register before refilling it from the FIFO, when the current command is a raw data command. A register value of 0 means shift 32 times.
sourcepub fn set_raw_n_shifts(&mut self, val: u8)
pub fn set_raw_n_shifts(&mut self, val: u8)
Number of times to consume from the shift register before refilling it from the FIFO, when the current command is a raw data command. A register value of 0 means shift 32 times.
sourcepub const fn enc_shift(&self) -> u8
pub const fn enc_shift(&self) -> u8
How many bits to right-rotate the shift register by each time data is pushed to the output shifter, when the current command is an encoded data command (e.g. TMDS).
sourcepub fn set_enc_shift(&mut self, val: u8)
pub fn set_enc_shift(&mut self, val: u8)
How many bits to right-rotate the shift register by each time data is pushed to the output shifter, when the current command is an encoded data command (e.g. TMDS).
sourcepub const fn enc_n_shifts(&self) -> u8
pub const fn enc_n_shifts(&self) -> u8
Number of times to consume from the shift register before refilling it from the FIFO, when the current command is an encoded data command (e.g. TMDS). A register value of 0 means shift 32 times.
sourcepub fn set_enc_n_shifts(&mut self, val: u8)
pub fn set_enc_n_shifts(&mut self, val: u8)
Number of times to consume from the shift register before refilling it from the FIFO, when the current command is an encoded data command (e.g. TMDS). A register value of 0 means shift 32 times.
Trait Implementations§
source§impl Clone for ExpandShift
impl Clone for ExpandShift
source§fn clone(&self) -> ExpandShift
fn clone(&self) -> ExpandShift
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExpandShift
impl Default for ExpandShift
source§fn default() -> ExpandShift
fn default() -> ExpandShift
source§impl PartialEq for ExpandShift
impl PartialEq for ExpandShift
impl Copy for ExpandShift
impl Eq for ExpandShift
impl StructuralPartialEq for ExpandShift
Auto Trait Implementations§
impl Freeze for ExpandShift
impl RefUnwindSafe for ExpandShift
impl Send for ExpandShift
impl Sync for ExpandShift
impl Unpin for ExpandShift
impl UnwindSafe for ExpandShift
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
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)
clone_to_uninit
)