Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
GFXMMU configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn boie(&self, n: usize) -> bool
pub const fn boie(&self, n: usize) -> bool
Buffer overflow interrupt enable. This bit enables the buffer x overflow interrupt.
pub const fn set_boie(&mut self, n: usize, val: bool)
pub const fn set_boie(&mut self, n: usize, val: bool)
Buffer overflow interrupt enable. This bit enables the buffer x overflow interrupt.
pub const fn ameie(&self) -> bool
pub const fn ameie(&self) -> bool
AHB master error interrupt enable. This bit enables the AHB master error interrupt.
pub const fn set_ameie(&mut self, val: bool)
pub const fn set_ameie(&mut self, val: bool)
AHB master error interrupt enable. This bit enables the AHB master error interrupt.
pub const fn set_bm(&mut self, val: Bm192)
pub const fn set_bm(&mut self, val: Bm192)
192 Block mode. This bit defines the number of blocks per line.
pub const fn ce(&self) -> bool
pub const fn ce(&self) -> bool
Cache enable. This bit enables the cache unit. Not available on STM32U5Fx/5Gx.
pub const fn set_ce(&mut self, val: bool)
pub const fn set_ce(&mut self, val: bool)
Cache enable. This bit enables the cache unit. Not available on STM32U5Fx/5Gx.
pub const fn cl(&self) -> bool
pub const fn cl(&self) -> bool
Cache lock. This bit lock the cache onto the buffer defined in the CLB field. Not available on STM32U5Fx/5Gx.
pub const fn set_cl(&mut self, val: bool)
pub const fn set_cl(&mut self, val: bool)
Cache lock. This bit lock the cache onto the buffer defined in the CLB field. Not available on STM32U5Fx/5Gx.
pub const fn clb(&self) -> Clb
pub const fn clb(&self) -> Clb
Cache lock buffer. This field select the buffer on which the cache is locked. Not available on STM32U5Fx/5Gx.
pub const fn set_clb(&mut self, val: Clb)
pub const fn set_clb(&mut self, val: Clb)
Cache lock buffer. This field select the buffer on which the cache is locked. Not available on STM32U5Fx/5Gx.
pub const fn fc(&self) -> bool
pub const fn fc(&self) -> bool
Force caching. This bit force the caching into the cache regardless of the MPU attributes. The cache must be enable (CE bit set). Not available on STM32U5Fx/5Gx.
pub const fn set_fc(&mut self, val: bool)
pub const fn set_fc(&mut self, val: bool)
Force caching. This bit force the caching into the cache regardless of the MPU attributes. The cache must be enable (CE bit set). Not available on STM32U5Fx/5Gx.
pub const fn pd(&self) -> bool
pub const fn pd(&self) -> bool
Prefetch disable. This bit disables the prefetch of the cache. Not available on STM32U5Fx/5Gx.
pub const fn set_pd(&mut self, val: bool)
pub const fn set_pd(&mut self, val: bool)
Prefetch disable. This bit disables the prefetch of the cache. Not available on STM32U5Fx/5Gx.
pub const fn oc(&self) -> bool
pub const fn oc(&self) -> bool
Outter cachability. This bit configure the cachability of an access generated by the GFXMMU cache. Not available on STM32U5Fx/5Gx.
pub const fn set_oc(&mut self, val: bool)
pub const fn set_oc(&mut self, val: bool)
Outter cachability. This bit configure the cachability of an access generated by the GFXMMU cache. Not available on STM32U5Fx/5Gx.
pub const fn ob(&self) -> bool
pub const fn ob(&self) -> bool
Outter bufferability. This bit configure the bufferability of an access generated by the GFXMMU cache. Not available on STM32U5Fx/5Gx.
pub const fn set_ob(&mut self, val: bool)
pub const fn set_ob(&mut self, val: bool)
Outter bufferability. This bit configure the bufferability of an access generated by the GFXMMU cache. Not available on STM32U5Fx/5Gx.