Struct d1_pac::csic::csic_dma::csic_dma_int_en::R

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

Register csic_dma_int_en reader

Implementations§

source§

impl R

source

pub fn cd_int_en(&self) -> CD_INT_EN_R

Bit 0 - Capture done

Indicates the CSI has completed capturing the image data. For still capture, the bit is set when one frame data has been written to buffer. For video capture, the bit is set when the last frame has been written to buffer after video capture has been disabled. For CCIR656 interface, if the output format is frame planar YCbCr 420 mode, the frame end means the field2 end, the other frame end means field end.

source

pub fn fd_int_en(&self) -> FD_INT_EN_R

Bit 1 - Frame done

Indicates the CSI has finished capturing an image frame. Applies to video capture mode. The bit is set after each completed frame capturing data is written to buffer as long as video capture remains enabled.

source

pub fn fifo0_of_int_en(&self) -> FIFO0_OF_INT_EN_R

Bit 2 - FIFO 0 overflow

The bit is set when the FIFO 0 became overflow.

source

pub fn fifo1_of_int_en(&self) -> FIFO1_OF_INT_EN_R

Bit 3 - FIFO 1 overflow

The bit is set when the FIFO 1 became overflow.

source

pub fn fifo2_of_int_en(&self) -> FIFO2_OF_INT_EN_R

Bit 4 - FIFO 2 overflow

The bit is set when the FIFO 2 became overflow.

source

pub fn lc_int_en(&self) -> LC_INT_EN_R

Bit 5 - Line counter flag The bit is set when the specific line has been written to dram every frame. The line number is set in the line counter register.

source

pub fn hb_of_int_en(&self) -> HB_OF_INT_EN_R

Bit 6 - Hblank FIFO overflow The bit is set when 3 FIFOs still overflow after the hblank.

source

pub fn vs_int_en(&self) -> VS_INT_EN_R

Bit 7 - vsync flag

The bit is set when vsync come. And at this time load the buffer address for the coming frame. So after this irq come, changing the buffer address could only effect next frame

source

pub fn clr_frame_cnt_int_en(&self) -> CLR_FRAME_CNT_INT_EN_R

Bit 11 - Set a INT when clear Frame cnt.

source

pub fn video_input_to_int_en(&self) -> VIDEO_INPUT_TO_INT_EN_R

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

source

pub fn buf_addr_fifo_int_en(&self) -> BUF_ADDR_FIFO_INT_EN_R

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_en(&self) -> STORED_FRM_CNT_INT_EN_R

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_en(&self) -> FRM_LOST_INT_EN_R

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

Methods from Deref<Target = R<CSIC_DMA_INT_EN_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<CSIC_DMA_INT_EN_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<CSIC_DMA_INT_EN_SPEC>> for R

source§

fn from(reader: R<CSIC_DMA_INT_EN_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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.