Struct Dcr4
#[repr(transparent)]pub struct Dcr4(pub u32);
Expand description
HSPI device configuration register 4.
Tuple Fields§
§0: u32
Implementations§
§impl Dcr4
impl Dcr4
pub const fn refresh(&self) -> u32
pub const fn refresh(&self) -> u32
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 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: u32)
pub fn set_refresh(&mut self, val: u32)
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 mode, because the byte transmission must be completed. others: Maximum communication length is set to REFRESH+1 clock cycles.