Struct d1_pac::csic::csic_dma::csic_dma_int_sta::W

source ·
pub struct W(/* private fields */);
Expand description

Register csic_dma_int_sta writer

Implementations§

source§

impl W

source

pub fn cd_pd(&mut self) -> CD_PD_W<'_, 0>

Bit 0 - Capture done

source

pub fn fd_pd(&mut self) -> FD_PD_W<'_, 1>

Bit 1 - Frame done

source

pub fn fifo0_of_pd(&mut self) -> FIFO0_OF_PD_W<'_, 2>

Bit 2 - FIFO 0 overflow

source

pub fn fifo1_of_pd(&mut self) -> FIFO1_OF_PD_W<'_, 3>

Bit 3 - FIFO 1 overflow

source

pub fn fifo2_of_pd(&mut self) -> FIFO2_OF_PD_W<'_, 4>

Bit 4 - FIFO 2 overflow

source

pub fn lc_pd(&mut self) -> LC_PD_W<'_, 5>

Bit 5 - Line counter flag

source

pub fn li_of_pd(&mut self) -> LI_OF_PD_W<'_, 6>

Bit 6 - Line information FIFO (16 lines) overflow

source

pub fn vs_pd(&mut self) -> VS_PD_W<'_, 7>

Bit 7 - vsync flag

source

pub fn clr_frame_cnt_int(&mut self) -> CLR_FRAME_CNT_INT_W<'_, 11>

Bit 11 - Set a INT when clear Frame cnt.

source

pub fn video_input_to_int_pd(&mut self) -> VIDEO_INPUT_TO_INT_PD_W<'_, 12>

Bit 12 - Set an INT Pending when no video input exceeds the setting threshold time.

source

pub fn buf_addr_fifo_int_pd(&mut self) -> BUF_ADDR_FIFO_INT_PD_W<'_, 13>

Bit 13 - Set an INT when content in BUF Address FIFO less than CSIC_DMA_BUFA_FIFO_THRESHOLD, only use in BUF Address FIFO MODE.

source

pub fn stored_frm_cnt_int_pd(&mut self) -> STORED_FRM_CNT_INT_PD_W<'_, 14>

Bit 14 - Set an INT when the value of CSIC_DMA_STORED_FRM_CNT reaches CSIC_DMA_STORED_FRM_THRESHOLD, only use in BUF Address FIFO MODE.

source

pub fn frm_lost_int_pd(&mut self) -> FRM_LOST_INT_PD_W<'_, 15>

Bit 15 - Set an INT when frame starts with empty Buffer Address FIFO, only use in BUF Address FIFO MODE.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<CSIC_DMA_INT_STA_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

§Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<CSIC_DMA_INT_STA_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<CSIC_DMA_INT_STA_SPEC>> for W

source§

fn from(writer: W<CSIC_DMA_INT_STA_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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> 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>,

§

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>,

§

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.