Struct Dcr4
#[repr(transparent)]pub struct Dcr4(pub u32);
Expand description
XSPI device configuration register 4
Tuple Fields§
§0: u32
Implementations§
§impl Dcr4
impl Dcr4
pub const fn refresh(&self) -> Refresh
pub const fn refresh(&self) -> Refresh
Refresh rate This field enables the refresh rate feature. The NCS is released every REFRESH + 1 clock cycles for writes, and REFRESH + 4 clock cycles for reads. Note: These two values can be extended with few clock cycles when refresh occurs during a byte transmission in single-, dual- or quad-SPI mode, because the byte transmission must be completed. Others: maximum communication length is set to REFRESH + 1 clock cycles.
pub fn set_refresh(&mut self, val: Refresh)
pub fn set_refresh(&mut self, val: Refresh)
Refresh rate This field enables the refresh rate feature. The NCS is released every REFRESH + 1 clock cycles for writes, and REFRESH + 4 clock cycles for reads. Note: These two values can be extended with few clock cycles when refresh occurs during a byte transmission in single-, dual- or quad-SPI mode, because the byte transmission must be completed. Others: maximum communication length is set to REFRESH + 1 clock cycles.