Struct Wpccr
#[repr(transparent)]pub struct Wpccr(pub u32);Expand description
XSPI wrap communication configuration register
Tuple Fields§
§0: u32Implementations§
§impl Wpccr
impl Wpccr
pub const fn imode(&self) -> WpccrImode
pub const fn imode(&self) -> WpccrImode
Instruction mode This field defines the instruction phase mode of operation. Others: reserved
pub fn set_imode(&mut self, val: WpccrImode)
pub fn set_imode(&mut self, val: WpccrImode)
Instruction mode This field defines the instruction phase mode of operation. Others: reserved
pub const fn idtr(&self) -> bool
pub const fn idtr(&self) -> bool
Instruction double transfer rate This bit sets the DTR mode for the instruction phase.
pub fn set_idtr(&mut self, val: bool)
pub fn set_idtr(&mut self, val: bool)
Instruction double transfer rate This bit sets the DTR mode for the instruction phase.
pub const fn isize(&self) -> WpccrIsize
pub const fn isize(&self) -> WpccrIsize
Instruction size This field defines instruction size.
pub fn set_isize(&mut self, val: WpccrIsize)
pub fn set_isize(&mut self, val: WpccrIsize)
Instruction size This field defines instruction size.
pub const fn admode(&self) -> WpccrAdmode
pub const fn admode(&self) -> WpccrAdmode
Address mode This field defines the address phase mode of operation. Others: reserved
pub fn set_admode(&mut self, val: WpccrAdmode)
pub fn set_admode(&mut self, val: WpccrAdmode)
Address mode This field defines the address phase mode of operation. Others: reserved
pub const fn addtr(&self) -> bool
pub const fn addtr(&self) -> bool
Address double transfer rate This bit sets the DTR mode for the address phase.
pub fn set_addtr(&mut self, val: bool)
pub fn set_addtr(&mut self, val: bool)
Address double transfer rate This bit sets the DTR mode for the address phase.
pub const fn adsize(&self) -> WpccrAdsize
pub const fn adsize(&self) -> WpccrAdsize
Address size This field defines address size.
pub fn set_adsize(&mut self, val: WpccrAdsize)
pub fn set_adsize(&mut self, val: WpccrAdsize)
Address size This field defines address size.
pub const fn abmode(&self) -> WpccrAbmode
pub const fn abmode(&self) -> WpccrAbmode
Alternate-byte mode This field defines the alternate byte phase mode of operation.
pub fn set_abmode(&mut self, val: WpccrAbmode)
pub fn set_abmode(&mut self, val: WpccrAbmode)
Alternate-byte mode This field defines the alternate byte phase mode of operation.
pub const fn abdtr(&self) -> bool
pub const fn abdtr(&self) -> bool
Alternate bytes double transfer rate This bit sets the DTR mode for the alternate bytes phase.
pub fn set_abdtr(&mut self, val: bool)
pub fn set_abdtr(&mut self, val: bool)
Alternate bytes double transfer rate This bit sets the DTR mode for the alternate bytes phase.
pub const fn absize(&self) -> WpccrAbsize
pub const fn absize(&self) -> WpccrAbsize
Alternate bytes size This bit defines alternate bytes size.
pub fn set_absize(&mut self, val: WpccrAbsize)
pub fn set_absize(&mut self, val: WpccrAbsize)
Alternate bytes size This bit defines alternate bytes size.
pub const fn dmode(&self) -> WpccrDmode
pub const fn dmode(&self) -> WpccrDmode
Data mode This field defines the data phase mode of operation. 101; data on 16 lines Others: reserved
pub fn set_dmode(&mut self, val: WpccrDmode)
pub fn set_dmode(&mut self, val: WpccrDmode)
Data mode This field defines the data phase mode of operation. 101; data on 16 lines Others: reserved
pub const fn ddtr(&self) -> bool
pub const fn ddtr(&self) -> bool
Data double transfer rate This bit sets the DTR mode for the data phase.