pub struct W(/* private fields */);
Expand description
Register csic_dma_int_en
writer
Implementations§
source§impl W
impl W
sourcepub fn cd_int_en(&mut self) -> CD_INT_EN_W<'_, 0>
pub fn cd_int_en(&mut self) -> CD_INT_EN_W<'_, 0>
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.
sourcepub fn fd_int_en(&mut self) -> FD_INT_EN_W<'_, 1>
pub fn fd_int_en(&mut self) -> FD_INT_EN_W<'_, 1>
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.
sourcepub fn fifo0_of_int_en(&mut self) -> FIFO0_OF_INT_EN_W<'_, 2>
pub fn fifo0_of_int_en(&mut self) -> FIFO0_OF_INT_EN_W<'_, 2>
Bit 2 - FIFO 0 overflow
The bit is set when the FIFO 0 became overflow.
sourcepub fn fifo1_of_int_en(&mut self) -> FIFO1_OF_INT_EN_W<'_, 3>
pub fn fifo1_of_int_en(&mut self) -> FIFO1_OF_INT_EN_W<'_, 3>
Bit 3 - FIFO 1 overflow
The bit is set when the FIFO 1 became overflow.
sourcepub fn fifo2_of_int_en(&mut self) -> FIFO2_OF_INT_EN_W<'_, 4>
pub fn fifo2_of_int_en(&mut self) -> FIFO2_OF_INT_EN_W<'_, 4>
Bit 4 - FIFO 2 overflow
The bit is set when the FIFO 2 became overflow.
sourcepub fn lc_int_en(&mut self) -> LC_INT_EN_W<'_, 5>
pub fn lc_int_en(&mut self) -> LC_INT_EN_W<'_, 5>
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.
sourcepub fn hb_of_int_en(&mut self) -> HB_OF_INT_EN_W<'_, 6>
pub fn hb_of_int_en(&mut self) -> HB_OF_INT_EN_W<'_, 6>
Bit 6 - Hblank FIFO overflow The bit is set when 3 FIFOs still overflow after the hblank.
sourcepub fn vs_int_en(&mut self) -> VS_INT_EN_W<'_, 7>
pub fn vs_int_en(&mut self) -> VS_INT_EN_W<'_, 7>
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
sourcepub fn clr_frame_cnt_int_en(&mut self) -> CLR_FRAME_CNT_INT_EN_W<'_, 11>
pub fn clr_frame_cnt_int_en(&mut self) -> CLR_FRAME_CNT_INT_EN_W<'_, 11>
Bit 11 - Set a INT when clear Frame cnt.
sourcepub fn video_input_to_int_en(&mut self) -> VIDEO_INPUT_TO_INT_EN_W<'_, 12>
pub fn video_input_to_int_en(&mut self) -> VIDEO_INPUT_TO_INT_EN_W<'_, 12>
Bit 12 - Set an INT when no video input exceeds the setting threshold time
sourcepub fn buf_addr_fifo_int_en(&mut self) -> BUF_ADDR_FIFO_INT_EN_W<'_, 13>
pub fn buf_addr_fifo_int_en(&mut self) -> BUF_ADDR_FIFO_INT_EN_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.
sourcepub fn stored_frm_cnt_int_en(&mut self) -> STORED_FRM_CNT_INT_EN_W<'_, 14>
pub fn stored_frm_cnt_int_en(&mut self) -> STORED_FRM_CNT_INT_EN_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.
sourcepub fn frm_lost_int_en(&mut self) -> FRM_LOST_INT_EN_W<'_, 15>
pub fn frm_lost_int_en(&mut self) -> FRM_LOST_INT_EN_W<'_, 15>
Bit 15 - Set an INT when frame starts with empty Buffer Address FIFO, only use in BUF Address FIFO MODE.