nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Cr3

Struct Cr3 

Source
#[repr(transparent)]
pub struct Cr3(pub u32);
Expand description

CSI Control Register 3

Tuple Fields§

§0: u32

Implementations§

Source§

impl Cr3

Source

pub const fn ecc_auto_en(&self) -> EccAutoEn

Automatic Error Correction Enable

Source

pub const fn set_ecc_auto_en(&mut self, val: EccAutoEn)

Automatic Error Correction Enable

Source

pub const fn ecc_int_en(&self) -> EccIntEn

Error Detection Interrupt Enable

Source

pub const fn set_ecc_int_en(&mut self, val: EccIntEn)

Error Detection Interrupt Enable

Source

pub const fn zero_pack_en(&self) -> ZeroPackEn

Dummy Zero Packing Enable

Source

pub const fn set_zero_pack_en(&mut self, val: ZeroPackEn)

Dummy Zero Packing Enable

Source

pub const fn sensor_16bits(&self) -> Sensor16bits

16-bit Sensor Mode

Source

pub const fn set_sensor_16bits(&mut self, val: Sensor16bits)

16-bit Sensor Mode

Source

pub const fn rx_ff_level(&self) -> RxFfLevel

RxFIFO Full Level

Source

pub const fn set_rx_ff_level(&mut self, val: RxFfLevel)

RxFIFO Full Level

Source

pub const fn hresp_err_en(&self) -> HrespErrEn

Hresponse Error Enable. This bit enables the hresponse (AHB protocol standard) error interrupt.

Source

pub const fn set_hresp_err_en(&mut self, val: HrespErrEn)

Hresponse Error Enable. This bit enables the hresponse (AHB protocol standard) error interrupt.

Source

pub const fn statff_level(&self) -> StatffLevel

STATFIFO Full Level

Source

pub const fn set_statff_level(&mut self, val: StatffLevel)

STATFIFO Full Level

Source

pub const fn dma_req_en_sff(&self) -> DmaReqEnSff

DMA Request Enable for STATFIFO

Source

pub const fn set_dma_req_en_sff(&mut self, val: DmaReqEnSff)

DMA Request Enable for STATFIFO

Source

pub const fn dma_req_en_rff(&self) -> DmaReqEnRff

DMA Request Enable for RxFIFO

Source

pub const fn set_dma_req_en_rff(&mut self, val: DmaReqEnRff)

DMA Request Enable for RxFIFO

Source

pub const fn dma_reflash_sff(&self) -> DmaReflashSff

Reflash DMA Controller for STATFIFO

Source

pub const fn set_dma_reflash_sff(&mut self, val: DmaReflashSff)

Reflash DMA Controller for STATFIFO

Source

pub const fn dma_reflash_rff(&self) -> DmaReflashRff

Reflash DMA Controller for RxFIFO

Source

pub const fn set_dma_reflash_rff(&mut self, val: DmaReflashRff)

Reflash DMA Controller for RxFIFO

Source

pub const fn frmcnt_rst(&self) -> FrmcntRst

Frame Count Reset. Resets the Frame Counter. (Cleared automatically after reset is done)

Source

pub const fn set_frmcnt_rst(&mut self, val: FrmcntRst)

Frame Count Reset. Resets the Frame Counter. (Cleared automatically after reset is done)

Source

pub const fn frmcnt(&self) -> u16

Frame Counter

Source

pub const fn set_frmcnt(&mut self, val: u16)

Frame Counter

Trait Implementations§

Source§

impl Clone for Cr3

Source§

fn clone(&self) -> Cr3

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Cr3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Cr3

Source§

fn default() -> Cr3

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Cr3

Source§

fn eq(&self, other: &Cr3) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Cr3

Source§

impl Eq for Cr3

Source§

impl StructuralPartialEq for Cr3

Auto Trait Implementations§

§

impl Freeze for Cr3

§

impl RefUnwindSafe for Cr3

§

impl Send for Cr3

§

impl Sync for Cr3

§

impl Unpin for Cr3

§

impl UnwindSafe for Cr3

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.