Struct stm32_metapac::dma2d::regs::Ocolr
#[repr(transparent)]pub struct Ocolr(pub u32);
Expand description
DMA2D output color register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Ocolr
impl Ocolr
pub const fn blue(&self) -> u8
pub const fn blue(&self) -> u8
Blue Value These bits define the blue value of the output image. 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 of the output image. 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 of the output image. 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 of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub const fn red(&self) -> u8
pub const fn red(&self) -> u8
Red Value These bits define the red value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub fn set_red(&mut self, val: u8)
pub fn set_red(&mut self, val: u8)
Red Value These bits define the red value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.