#[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 more