Struct Wccr
#[repr(transparent)]pub struct Wccr(pub u32);
Expand description
XSPI write communication configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Wccr
impl Wccr
pub const fn imode(&self) -> WccrImode
pub const fn imode(&self) -> WccrImode
Instruction mode This field defines the instruction phase mode of operation. Others: reserved
pub fn set_imode(&mut self, val: WccrImode)
pub fn set_imode(&mut self, val: WccrImode)
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 admode(&self) -> WccrAdmode
pub const fn admode(&self) -> WccrAdmode
Address mode This field defines the address phase mode of operation. Others: reserved
pub fn set_admode(&mut self, val: WccrAdmode)
pub fn set_admode(&mut self, val: WccrAdmode)
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) -> WccrAdsize
pub const fn adsize(&self) -> WccrAdsize
Address size This field defines address size.
pub fn set_adsize(&mut self, val: WccrAdsize)
pub fn set_adsize(&mut self, val: WccrAdsize)
Address size This field defines address size.
pub const fn abmode(&self) -> WccrAbmode
pub const fn abmode(&self) -> WccrAbmode
Alternate-byte mode This field defines the alternate-byte phase mode of operation. Others: reserved
pub fn set_abmode(&mut self, val: WccrAbmode)
pub fn set_abmode(&mut self, val: WccrAbmode)
Alternate-byte mode This field defines the alternate-byte phase mode of operation. Others: reserved
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) -> WccrAbsize
pub const fn absize(&self) -> WccrAbsize
Alternate bytes size This field defines alternate bytes size:
pub fn set_absize(&mut self, val: WccrAbsize)
pub fn set_absize(&mut self, val: WccrAbsize)
Alternate bytes size This field defines alternate bytes size:
pub const fn dmode(&self) -> WccrDmode
pub const fn dmode(&self) -> WccrDmode
Data mode This field defines the data phase mode of operation.
pub fn set_dmode(&mut self, val: WccrDmode)
pub fn set_dmode(&mut self, val: WccrDmode)
Data mode This field defines the data phase mode of operation.
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.