Struct stm32_metapac::dma2d::regs::Fgcolr
#[repr(transparent)]pub struct Fgcolr(pub u32);
Expand description
DMA2D foreground color register
Tuple Fields§
§0: u32
Implementations§
§impl Fgcolr
impl Fgcolr
pub const fn blue(&self) -> u8
pub const fn blue(&self) -> u8
Blue Value These bits defines the blue value for the A4 or A8 mode of the foreground image. They 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 defines the blue value for the A4 or A8 mode of the foreground image. They 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 defines the green value for the A4 or A8 mode of the foreground image. They 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 defines the green value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, They are read-only.