#[repr(C)]pub struct Display0 {
pub video: RW<VideoFlags>,
pub hscale: RW<u8>,
pub vscale: RW<u8>,
pub border: RW<u8>,
}Expand description
Active when Display Composer (DC) SEL=0
Fields§
§video: RW<VideoFlags>Flags to enable video layers
hscale: RW<u8>HSCALE - Active Display H-Scale, offset 0x0a
HSCALE and VSCALE will set the fractional scaling factor of the active part of the display.
Setting this value to 128 will output 1 output pixel for every input pixel.
Setting this to 64 will output 2 output pixels for every input pixel.
vscale: RW<u8>VSCALE - Active Display V-Scale, offset 0x0b
HSCALE and VSCALE will set the fractional scaling factor of the active part of the display.
Setting this value to 128 will output 1 output pixel for every input pixel.
Setting this to 64 will output 2 output pixels for every input pixel.
border: RW<u8>DC_BORDER - Border Color, offset 0x0c
Determines the palette index which is used for the non-active area of the screen.
Auto Trait Implementations§
impl !Freeze for Display0
impl !RefUnwindSafe for Display0
impl Send for Display0
impl !Sync for Display0
impl Unpin for Display0
impl UnwindSafe for Display0
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
Mutably borrows from an owned value. Read more