Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
control register 1
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn set_capture(&mut self, val: bool)
pub const fn set_capture(&mut self, val: bool)
Capture enable
pub const fn set_pckpol(&mut self, val: bool)
pub const fn set_pckpol(&mut self, val: bool)
Pixel clock polarity
pub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
DCMI enable
pub const fn oebs(&self) -> bool
pub const fn oebs(&self) -> bool
Odd/even byte select (byte select start). 0: capture first data from the frame/line start, second dropped. 1: capture second data, first dropped
pub const fn set_oebs(&mut self, val: bool)
pub const fn set_oebs(&mut self, val: bool)
Odd/even byte select (byte select start). 0: capture first data from the frame/line start, second dropped. 1: capture second data, first dropped
pub const fn lsm(&self) -> bool
pub const fn lsm(&self) -> bool
Line select mode. 0: capture all received lines. 1: capture one line out of two
pub const fn set_lsm(&mut self, val: bool)
pub const fn set_lsm(&mut self, val: bool)
Line select mode. 0: capture all received lines. 1: capture one line out of two
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnsafeUnpin for Cr
impl UnwindSafe for Cr
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