Struct rp2040_pac2::xip_ssi::regs::SpiCtrlr0 [−][src]
SPI control
Implementations
impl SpiCtrlr0
[src]
pub const fn xip_cmd(&self) -> u8
[src]
SPI Command to send in XIP mode (INST_L = 8-bit) or to append to Address (INST_L = 0-bit)
pub fn set_xip_cmd(&mut self, val: u8)
[src]
SPI Command to send in XIP mode (INST_L = 8-bit) or to append to Address (INST_L = 0-bit)
pub const fn spi_rxds_en(&self) -> bool
[src]
Read data strobe enable
pub fn set_spi_rxds_en(&mut self, val: bool)
[src]
Read data strobe enable
pub const fn inst_ddr_en(&self) -> bool
[src]
Instruction DDR transfer enable
pub fn set_inst_ddr_en(&mut self, val: bool)
[src]
Instruction DDR transfer enable
pub const fn spi_ddr_en(&self) -> bool
[src]
SPI DDR transfer enable
pub fn set_spi_ddr_en(&mut self, val: bool)
[src]
SPI DDR transfer enable
pub const fn wait_cycles(&self) -> u8
[src]
Wait cycles between control frame transmit and data reception (in SCLK cycles)
pub fn set_wait_cycles(&mut self, val: u8)
[src]
Wait cycles between control frame transmit and data reception (in SCLK cycles)
pub const fn inst_l(&self) -> SpiCtrlr0InstL
[src]
Instruction length (0/4/8/16b)
pub fn set_inst_l(&mut self, val: SpiCtrlr0InstL)
[src]
Instruction length (0/4/8/16b)
pub const fn addr_l(&self) -> u8
[src]
Address length (0b-60b in 4b increments)
pub fn set_addr_l(&mut self, val: u8)
[src]
Address length (0b-60b in 4b increments)
pub const fn trans_type(&self) -> SpiCtrlr0TransType
[src]
Address and instruction transfer format
pub fn set_trans_type(&mut self, val: SpiCtrlr0TransType)
[src]
Address and instruction transfer format
Trait Implementations
impl Clone for SpiCtrlr0
[src]
fn clone(&self) -> SpiCtrlr0
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SpiCtrlr0
[src]
impl Default for SpiCtrlr0
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,