Struct stm32_metapac::gfxmmu::regs::Cr
#[repr(transparent)]pub struct Cr(pub u32);
Expand description
GFXMMU configuration register.
Tuple Fields§
§0: u32
Implementations§
§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 0 overflow interrupt.
pub fn set_boie(&mut self, n: usize, val: bool)
pub fn set_boie(&mut self, n: usize, val: bool)
Buffer overflow interrupt enable. This bit enables the buffer 0 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 fn set_ameie(&mut self, val: bool)
pub fn set_ameie(&mut self, val: bool)
AHB master error interrupt enable. This bit enables the AHB master error interrupt.
pub const fn bm(&self, n: usize) -> Bm192
pub const fn bm(&self, n: usize) -> Bm192
192 Block mode. This bit defines the number of blocks per line.
pub fn set_bm(&mut self, n: usize, val: Bm192)
pub fn set_bm(&mut self, n: usize, val: Bm192)
192 Block mode. This bit defines the number of blocks per line.
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.
pub fn set_cl(&mut self, val: bool)
pub fn set_cl(&mut self, val: bool)
Cache lock. This bit lock the cache onto the buffer defined in the CLB field.
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.
pub fn set_clb(&mut self, val: Clb)
pub fn set_clb(&mut self, val: Clb)
Cache lock buffer. This field select the buffer on which the cache is locked.
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).
pub fn set_fc(&mut self, val: bool)
pub 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).
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.
pub fn set_oc(&mut self, val: bool)
pub fn set_oc(&mut self, val: bool)
Outter cachability. This bit configure the cachability of an access generated by the GFXMMU cache.