#[repr(C)]pub struct Display1 {
pub hstart: RW<u8>,
pub hstop: RW<u8>,
pub vstart: RW<u8>,
pub vstop: RW<u8>,
}Expand description
Active when Display Composer (DC) SEL=1
HSTART/HSTOP and VSTART/VSTOP determines the active part of the screen.
The values here are specified in the native 640x480 display space.
HSTART=0, HSTOP=640, VSTART=0, VSTOP=480 will set the active area to the full resolution.
Note that the lower 2 bits of HSTART/HSTOP and the lower 1 bit of VSTART/VSTOP isn’t available.
This means that horizontally the start and stop values can be set at a multiple of 4 pixels,
vertically at a multiple of 2 pixels.
Fields§
§hstart: RW<u8>Horizontal start position
hstop: RW<u8>Horizontal stop position
vstart: RW<u8>Vertical start position
vstop: RW<u8>Vertical stop position
Auto Trait Implementations§
impl !Freeze for Display1
impl !RefUnwindSafe for Display1
impl Send for Display1
impl !Sync for Display1
impl Unpin for Display1
impl UnwindSafe for Display1
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