Struct stm32_metapac::dma2d::regs::Bgcolr
#[repr(transparent)]pub struct Bgcolr(pub u32);
Expand description
DMA2D background color register
Tuple Fields§
§0: u32
Implementations§
§impl Bgcolr
impl Bgcolr
pub const fn blue(&self) -> u8
pub const fn blue(&self) -> u8
Blue Value These bits define the blue value for the A4 or A8 mode of the background. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub fn set_blue(&mut self, val: u8)
pub fn set_blue(&mut self, val: u8)
Blue Value These bits define the blue value for the A4 or A8 mode of the background. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub const fn green(&self) -> u8
pub const fn green(&self) -> u8
Green Value These bits define the green value for the A4 or A8 mode of the background. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub fn set_green(&mut self, val: u8)
pub fn set_green(&mut self, val: u8)
Green Value These bits define the green value for the A4 or A8 mode of the background. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.