Struct Sr
#[repr(transparent)]pub struct Sr(pub u32);Expand description
status register
Tuple Fields§
§0: u32Implementations§
§impl Sr
impl Sr
pub const fn hsync(&self) -> bool
pub const fn hsync(&self) -> bool
Horizontal synchronization. State of the HSYNC pin with the programmed polarity; with embedded synchronization codes 0: active line, 1: synchronization between lines
pub const fn set_hsync(&mut self, val: bool)
pub const fn set_hsync(&mut self, val: bool)
Horizontal synchronization. State of the HSYNC pin with the programmed polarity; with embedded synchronization codes 0: active line, 1: synchronization between lines
pub const fn vsync(&self) -> bool
pub const fn vsync(&self) -> bool
Vertical synchronization. State of the VSYNC pin with the programmed polarity; with embedded synchronization codes 0: active frame, 1: synchronization between frames
Trait Implementations§
impl Copy for Sr
impl Eq for Sr
impl StructuralPartialEq for Sr
Auto Trait Implementations§
impl Freeze for Sr
impl RefUnwindSafe for Sr
impl Send for Sr
impl Sync for Sr
impl Unpin for Sr
impl UnsafeUnpin for Sr
impl UnwindSafe for Sr
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