Struct Dcr3
#[repr(transparent)]pub struct Dcr3(pub u32);
Expand description
XSPI device configuration register 3
Tuple Fields§
§0: u32
Implementations§
§impl Dcr3
impl Dcr3
pub const fn maxtran(&self) -> Maxtran
pub const fn maxtran(&self) -> Maxtran
Maximum transfer This field enables the communication regulation feature. The NCS is released every MAXTRAN+1 clock cycles when the other XSPI request the access to the bus. Others: maximum communication is set to MAXTRAN + 1 bytes.
pub fn set_maxtran(&mut self, val: Maxtran)
pub fn set_maxtran(&mut self, val: Maxtran)
Maximum transfer This field enables the communication regulation feature. The NCS is released every MAXTRAN+1 clock cycles when the other XSPI request the access to the bus. Others: maximum communication is set to MAXTRAN + 1 bytes.
pub const fn csbound(&self) -> Csbound
pub const fn csbound(&self) -> Csbound
NCS boundary This field enables the transaction boundary feature. When active, a minimum value of 3 is recommended. The NCS is released on each boundary of 2CSBOUND bytes. Others: NCS boundary set to 2CSBOUND bytes
pub fn set_csbound(&mut self, val: Csbound)
pub fn set_csbound(&mut self, val: Csbound)
NCS boundary This field enables the transaction boundary feature. When active, a minimum value of 3 is recommended. The NCS is released on each boundary of 2CSBOUND bytes. Others: NCS boundary set to 2CSBOUND bytes