Struct 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.
Trait Implementations§
impl Copy for Bgcolr
impl Eq for Bgcolr
impl StructuralPartialEq for Bgcolr
Auto Trait Implementations§
impl Freeze for Bgcolr
impl RefUnwindSafe for Bgcolr
impl Send for Bgcolr
impl Sync for Bgcolr
impl Unpin for Bgcolr
impl UnwindSafe for Bgcolr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)