[][src]Struct imxrt1062_csi::R

pub struct R<U, T> { /* fields omitted */ }

Register/field reader

Result of the read method of a register. Also it can be used in the modify method

Methods

impl<U, T> R<U, T> where
    U: Copy
[src]

pub fn bits(&self) -> U[src]

Read raw bits from register/field

impl<FI> R<bool, FI>[src]

pub fn bit(&self) -> bool[src]

Value of the field as raw bits

pub fn bit_is_clear(&self) -> bool[src]

Returns true if the bit is clear (0)

pub fn bit_is_set(&self) -> bool[src]

Returns true if the bit is set (1)

impl R<bool, PIXEL_BIT_A>[src]

pub fn variant(&self) -> PIXEL_BIT_A[src]

Get enumerated values variant

pub fn is_pixel_bit_0(&self) -> bool[src]

Checks if the value of the field is PIXEL_BIT_0

pub fn is_pixel_bit_1(&self) -> bool[src]

Checks if the value of the field is PIXEL_BIT_1

impl R<bool, REDGE_A>[src]

pub fn variant(&self) -> REDGE_A[src]

Get enumerated values variant

pub fn is_redge_0(&self) -> bool[src]

Checks if the value of the field is REDGE_0

pub fn is_redge_1(&self) -> bool[src]

Checks if the value of the field is REDGE_1

impl R<bool, INV_PCLK_A>[src]

pub fn variant(&self) -> INV_PCLK_A[src]

Get enumerated values variant

pub fn is_inv_pclk_0(&self) -> bool[src]

Checks if the value of the field is INV_PCLK_0

pub fn is_inv_pclk_1(&self) -> bool[src]

Checks if the value of the field is INV_PCLK_1

impl R<bool, INV_DATA_A>[src]

pub fn variant(&self) -> INV_DATA_A[src]

Get enumerated values variant

pub fn is_inv_data_0(&self) -> bool[src]

Checks if the value of the field is INV_DATA_0

pub fn is_inv_data_1(&self) -> bool[src]

Checks if the value of the field is INV_DATA_1

impl R<bool, GCLK_MODE_A>[src]

pub fn variant(&self) -> GCLK_MODE_A[src]

Get enumerated values variant

pub fn is_gclk_mode_0(&self) -> bool[src]

Checks if the value of the field is GCLK_MODE_0

pub fn is_gclk_mode_1(&self) -> bool[src]

Checks if the value of the field is GCLK_MODE_1

impl R<bool, PACK_DIR_A>[src]

pub fn variant(&self) -> PACK_DIR_A[src]

Get enumerated values variant

pub fn is_pack_dir_0(&self) -> bool[src]

Checks if the value of the field is PACK_DIR_0

pub fn is_pack_dir_1(&self) -> bool[src]

Checks if the value of the field is PACK_DIR_1

impl R<bool, FCC_A>[src]

pub fn variant(&self) -> FCC_A[src]

Get enumerated values variant

pub fn is_fcc_0(&self) -> bool[src]

Checks if the value of the field is FCC_0

pub fn is_fcc_1(&self) -> bool[src]

Checks if the value of the field is FCC_1

impl R<bool, CCIR_EN_A>[src]

pub fn variant(&self) -> CCIR_EN_A[src]

Get enumerated values variant

pub fn is_ccir_en_0(&self) -> bool[src]

Checks if the value of the field is CCIR_EN_0

pub fn is_ccir_en_1(&self) -> bool[src]

Checks if the value of the field is CCIR_EN_1

impl R<bool, HSYNC_POL_A>[src]

pub fn variant(&self) -> HSYNC_POL_A[src]

Get enumerated values variant

pub fn is_hsync_pol_0(&self) -> bool[src]

Checks if the value of the field is HSYNC_POL_0

pub fn is_hsync_pol_1(&self) -> bool[src]

Checks if the value of the field is HSYNC_POL_1

impl R<bool, SOF_INTEN_A>[src]

pub fn variant(&self) -> SOF_INTEN_A[src]

Get enumerated values variant

pub fn is_sof_inten_0(&self) -> bool[src]

Checks if the value of the field is SOF_INTEN_0

pub fn is_sof_inten_1(&self) -> bool[src]

Checks if the value of the field is SOF_INTEN_1

impl R<bool, SOF_POL_A>[src]

pub fn variant(&self) -> SOF_POL_A[src]

Get enumerated values variant

pub fn is_sof_pol_0(&self) -> bool[src]

Checks if the value of the field is SOF_POL_0

pub fn is_sof_pol_1(&self) -> bool[src]

Checks if the value of the field is SOF_POL_1

impl R<bool, RXFF_INTEN_A>[src]

pub fn variant(&self) -> RXFF_INTEN_A[src]

Get enumerated values variant

pub fn is_rxff_inten_0(&self) -> bool[src]

Checks if the value of the field is RXFF_INTEN_0

pub fn is_rxff_inten_1(&self) -> bool[src]

Checks if the value of the field is RXFF_INTEN_1

impl R<bool, FB1_DMA_DONE_INTEN_A>[src]

pub fn variant(&self) -> FB1_DMA_DONE_INTEN_A[src]

Get enumerated values variant

pub fn is_fb1_dma_done_inten_0(&self) -> bool[src]

Checks if the value of the field is FB1_DMA_DONE_INTEN_0

pub fn is_fb1_dma_done_inten_1(&self) -> bool[src]

Checks if the value of the field is FB1_DMA_DONE_INTEN_1

impl R<bool, FB2_DMA_DONE_INTEN_A>[src]

pub fn variant(&self) -> FB2_DMA_DONE_INTEN_A[src]

Get enumerated values variant

pub fn is_fb2_dma_done_inten_0(&self) -> bool[src]

Checks if the value of the field is FB2_DMA_DONE_INTEN_0

pub fn is_fb2_dma_done_inten_1(&self) -> bool[src]

Checks if the value of the field is FB2_DMA_DONE_INTEN_1

impl R<bool, STATFF_INTEN_A>[src]

pub fn variant(&self) -> STATFF_INTEN_A[src]

Get enumerated values variant

pub fn is_statff_inten_0(&self) -> bool[src]

Checks if the value of the field is STATFF_INTEN_0

pub fn is_statff_inten_1(&self) -> bool[src]

Checks if the value of the field is STATFF_INTEN_1

impl R<bool, SFF_DMA_DONE_INTEN_A>[src]

pub fn variant(&self) -> SFF_DMA_DONE_INTEN_A[src]

Get enumerated values variant

pub fn is_sff_dma_done_inten_0(&self) -> bool[src]

Checks if the value of the field is SFF_DMA_DONE_INTEN_0

pub fn is_sff_dma_done_inten_1(&self) -> bool[src]

Checks if the value of the field is SFF_DMA_DONE_INTEN_1

impl R<bool, RF_OR_INTEN_A>[src]

pub fn variant(&self) -> RF_OR_INTEN_A[src]

Get enumerated values variant

pub fn is_rf_or_inten_0(&self) -> bool[src]

Checks if the value of the field is RF_OR_INTEN_0

pub fn is_rf_or_inten_1(&self) -> bool[src]

Checks if the value of the field is RF_OR_INTEN_1

impl R<bool, SF_OR_INTEN_A>[src]

pub fn variant(&self) -> SF_OR_INTEN_A[src]

Get enumerated values variant

pub fn is_sf_or_inten_0(&self) -> bool[src]

Checks if the value of the field is SF_OR_INTEN_0

pub fn is_sf_or_inten_1(&self) -> bool[src]

Checks if the value of the field is SF_OR_INTEN_1

impl R<bool, COF_INT_EN_A>[src]

pub fn variant(&self) -> COF_INT_EN_A[src]

Get enumerated values variant

pub fn is_cof_int_en_0(&self) -> bool[src]

Checks if the value of the field is COF_INT_EN_0

pub fn is_cof_int_en_1(&self) -> bool[src]

Checks if the value of the field is COF_INT_EN_1

impl R<bool, CCIR_MODE_A>[src]

pub fn variant(&self) -> CCIR_MODE_A[src]

Get enumerated values variant

pub fn is_ccir_mode_0(&self) -> bool[src]

Checks if the value of the field is CCIR_MODE_0

pub fn is_ccir_mode_1(&self) -> bool[src]

Checks if the value of the field is CCIR_MODE_1

impl R<bool, PRP_IF_EN_A>[src]

pub fn variant(&self) -> PRP_IF_EN_A[src]

Get enumerated values variant

pub fn is_pr_p_if_en_0(&self) -> bool[src]

Checks if the value of the field is PRP_IF_EN_0

pub fn is_pr_p_if_en_1(&self) -> bool[src]

Checks if the value of the field is PRP_IF_EN_1

impl R<bool, EOF_INT_EN_A>[src]

pub fn variant(&self) -> EOF_INT_EN_A[src]

Get enumerated values variant

pub fn is_eof_int_en_0(&self) -> bool[src]

Checks if the value of the field is EOF_INT_EN_0

pub fn is_eof_int_en_1(&self) -> bool[src]

Checks if the value of the field is EOF_INT_EN_1

impl R<bool, EXT_VSYNC_A>[src]

pub fn variant(&self) -> EXT_VSYNC_A[src]

Get enumerated values variant

pub fn is_ext_vsync_0(&self) -> bool[src]

Checks if the value of the field is EXT_VSYNC_0

pub fn is_ext_vsync_1(&self) -> bool[src]

Checks if the value of the field is EXT_VSYNC_1

impl R<bool, SWAP16_EN_A>[src]

pub fn variant(&self) -> SWAP16_EN_A[src]

Get enumerated values variant

pub fn is_swap16_en_0(&self) -> bool[src]

Checks if the value of the field is SWAP16_EN_0

pub fn is_swap16_en_1(&self) -> bool[src]

Checks if the value of the field is SWAP16_EN_1

impl R<u32, Reg<u32, _CSICR1>>[src]

pub fn pixel_bit(&self) -> PIXEL_BIT_R[src]

Bit 0 - Pixel Bit

pub fn redge(&self) -> REDGE_R[src]

Bit 1 - Valid Pixel Clock Edge Select

pub fn inv_pclk(&self) -> INV_PCLK_R[src]

Bit 2 - Invert Pixel Clock Input

pub fn inv_data(&self) -> INV_DATA_R[src]

Bit 3 - Invert Data Input. This bit enables or disables internal inverters on the data lines.

pub fn gclk_mode(&self) -> GCLK_MODE_R[src]

Bit 4 - Gated Clock Mode Enable

pub fn clr_rxfifo(&self) -> CLR_RXFIFO_R[src]

Bit 5 - Asynchronous RXFIFO Clear

pub fn clr_statfifo(&self) -> CLR_STATFIFO_R[src]

Bit 6 - Asynchronous STATFIFO Clear

pub fn pack_dir(&self) -> PACK_DIR_R[src]

Bit 7 - Data Packing Direction

pub fn fcc(&self) -> FCC_R[src]

Bit 8 - FIFO Clear Control

pub fn ccir_en(&self) -> CCIR_EN_R[src]

Bit 10 - CCIR656 Interface Enable

pub fn hsync_pol(&self) -> HSYNC_POL_R[src]

Bit 11 - HSYNC Polarity Select

pub fn sof_inten(&self) -> SOF_INTEN_R[src]

Bit 16 - Start Of Frame (SOF) Interrupt Enable. This bit enables the SOF interrupt.

pub fn sof_pol(&self) -> SOF_POL_R[src]

Bit 17 - SOF Interrupt Polarity. This bit controls the condition that generates an SOF interrupt.

pub fn rxff_inten(&self) -> RXFF_INTEN_R[src]

Bit 18 - RxFIFO Full Interrupt Enable. This bit enables the RxFIFO full interrupt.

pub fn fb1_dma_done_inten(&self) -> FB1_DMA_DONE_INTEN_R[src]

Bit 19 - Frame Buffer1 DMA Transfer Done Interrupt Enable

pub fn fb2_dma_done_inten(&self) -> FB2_DMA_DONE_INTEN_R[src]

Bit 20 - Frame Buffer2 DMA Transfer Done Interrupt Enable

pub fn statff_inten(&self) -> STATFF_INTEN_R[src]

Bit 21 - STATFIFO Full Interrupt Enable. This bit enables the STAT FIFO interrupt.

pub fn sff_dma_done_inten(&self) -> SFF_DMA_DONE_INTEN_R[src]

Bit 22 - STATFIFO DMA Transfer Done Interrupt Enable

pub fn rf_or_inten(&self) -> RF_OR_INTEN_R[src]

Bit 24 - RxFIFO Overrun Interrupt Enable. This bit enables the RX FIFO overrun interrupt.

pub fn sf_or_inten(&self) -> SF_OR_INTEN_R[src]

Bit 25 - STAT FIFO Overrun Interrupt Enable. This bit enables the STATFIFO overrun interrupt.

pub fn cof_int_en(&self) -> COF_INT_EN_R[src]

Bit 26 - Change Of Image Field (COF) Interrupt Enable

pub fn ccir_mode(&self) -> CCIR_MODE_R[src]

Bit 27 - CCIR Mode Select

pub fn pr_p_if_en(&self) -> PRP_IF_EN_R[src]

Bit 28 - CSI-PrP Interface Enable

pub fn eof_int_en(&self) -> EOF_INT_EN_R[src]

Bit 29 - End-of-Frame Interrupt Enable. This bit enables and disables the EOF interrupt.

pub fn ext_vsync(&self) -> EXT_VSYNC_R[src]

Bit 30 - External VSYNC Enable

pub fn swap16_en(&self) -> SWAP16_EN_R[src]

Bit 31 - SWAP 16-Bit Enable

impl R<u8, LVRM_A>[src]

pub fn variant(&self) -> Variant<u8, LVRM_A>[src]

Get enumerated values variant

pub fn is_lvrm_0(&self) -> bool[src]

Checks if the value of the field is LVRM_0

pub fn is_lvrm_1(&self) -> bool[src]

Checks if the value of the field is LVRM_1

pub fn is_lvrm_2(&self) -> bool[src]

Checks if the value of the field is LVRM_2

pub fn is_lvrm_3(&self) -> bool[src]

Checks if the value of the field is LVRM_3

pub fn is_lvrm_4(&self) -> bool[src]

Checks if the value of the field is LVRM_4

pub fn is_lvrm_5(&self) -> bool[src]

Checks if the value of the field is LVRM_5

pub fn is_lvrm_6(&self) -> bool[src]

Checks if the value of the field is LVRM_6

impl R<u8, BTS_A>[src]

pub fn variant(&self) -> BTS_A[src]

Get enumerated values variant

pub fn is_bts_0(&self) -> bool[src]

Checks if the value of the field is BTS_0

pub fn is_bts_1(&self) -> bool[src]

Checks if the value of the field is BTS_1

pub fn is_bts_2(&self) -> bool[src]

Checks if the value of the field is BTS_2

pub fn is_bts_3(&self) -> bool[src]

Checks if the value of the field is BTS_3

impl R<bool, SCE_A>[src]

pub fn variant(&self) -> SCE_A[src]

Get enumerated values variant

pub fn is_sce_0(&self) -> bool[src]

Checks if the value of the field is SCE_0

pub fn is_sce_1(&self) -> bool[src]

Checks if the value of the field is SCE_1

impl R<u8, AFS_A>[src]

pub fn variant(&self) -> Variant<u8, AFS_A>[src]

Get enumerated values variant

pub fn is_afs_0(&self) -> bool[src]

Checks if the value of the field is AFS_0

pub fn is_afs_1(&self) -> bool[src]

Checks if the value of the field is AFS_1

pub fn is_afs_2(&self) -> bool[src]

Checks if the value of the field is AFS_2

impl R<bool, DRM_A>[src]

pub fn variant(&self) -> DRM_A[src]

Get enumerated values variant

pub fn is_drm_0(&self) -> bool[src]

Checks if the value of the field is DRM_0

pub fn is_drm_1(&self) -> bool[src]

Checks if the value of the field is DRM_1

impl R<u8, DMA_BURST_TYPE_SFF_A>[src]

pub fn variant(&self) -> Variant<u8, DMA_BURST_TYPE_SFF_A>[src]

Get enumerated values variant

pub fn is_dma_burst_type_sff_0(&self) -> bool[src]

Checks if the value of the field is DMA_BURST_TYPE_SFF_0

pub fn is_dma_burst_type_sff_1(&self) -> bool[src]

Checks if the value of the field is DMA_BURST_TYPE_SFF_1

pub fn is_dma_burst_type_sff_3(&self) -> bool[src]

Checks if the value of the field is DMA_BURST_TYPE_SFF_3

impl R<u8, DMA_BURST_TYPE_RFF_A>[src]

pub fn variant(&self) -> Variant<u8, DMA_BURST_TYPE_RFF_A>[src]

Get enumerated values variant

pub fn is_dma_burst_type_rff_0(&self) -> bool[src]

Checks if the value of the field is DMA_BURST_TYPE_RFF_0

pub fn is_dma_burst_type_rff_1(&self) -> bool[src]

Checks if the value of the field is DMA_BURST_TYPE_RFF_1

pub fn is_dma_burst_type_rff_3(&self) -> bool[src]

Checks if the value of the field is DMA_BURST_TYPE_RFF_3

impl R<u32, Reg<u32, _CSICR2>>[src]

pub fn hsc(&self) -> HSC_R[src]

Bits 0:7 - Horizontal Skip Count

pub fn vsc(&self) -> VSC_R[src]

Bits 8:15 - Vertical Skip Count. Contains the number of rows to skip. SCE must be 1, otherwise VSC is ignored.

pub fn lvrm(&self) -> LVRM_R[src]

Bits 16:18 - Live View Resolution Mode. Selects the grid size used for live view resolution.

pub fn bts(&self) -> BTS_R[src]

Bits 19:20 - Bayer Tile Start. Controls the Bayer pattern starting point.

pub fn sce(&self) -> SCE_R[src]

Bit 23 - Skip Count Enable. Enables or disables the skip count feature.

pub fn afs(&self) -> AFS_R[src]

Bits 24:25 - Auto Focus Spread. Selects which green pixels are used for auto-focus.

pub fn drm(&self) -> DRM_R[src]

Bit 26 - Double Resolution Mode. Controls size of statistics grid.

pub fn dma_burst_type_sff(&self) -> DMA_BURST_TYPE_SFF_R[src]

Bits 28:29 - Burst Type of DMA Transfer from STATFIFO. Selects the burst type of DMA transfer from STATFIFO.

pub fn dma_burst_type_rff(&self) -> DMA_BURST_TYPE_RFF_R[src]

Bits 30:31 - Burst Type of DMA Transfer from RxFIFO. Selects the burst type of DMA transfer from RxFIFO.

impl R<bool, ECC_AUTO_EN_A>[src]

pub fn variant(&self) -> ECC_AUTO_EN_A[src]

Get enumerated values variant

pub fn is_ecc_auto_en_0(&self) -> bool[src]

Checks if the value of the field is ECC_AUTO_EN_0

pub fn is_ecc_auto_en_1(&self) -> bool[src]

Checks if the value of the field is ECC_AUTO_EN_1

impl R<bool, ECC_INT_EN_A>[src]

pub fn variant(&self) -> ECC_INT_EN_A[src]

Get enumerated values variant

pub fn is_ecc_int_en_0(&self) -> bool[src]

Checks if the value of the field is ECC_INT_EN_0

pub fn is_ecc_int_en_1(&self) -> bool[src]

Checks if the value of the field is ECC_INT_EN_1

impl R<bool, ZERO_PACK_EN_A>[src]

pub fn variant(&self) -> ZERO_PACK_EN_A[src]

Get enumerated values variant

pub fn is_zero_pack_en_0(&self) -> bool[src]

Checks if the value of the field is ZERO_PACK_EN_0

pub fn is_zero_pack_en_1(&self) -> bool[src]

Checks if the value of the field is ZERO_PACK_EN_1

impl R<bool, TWO_8BIT_SENSOR_A>[src]

pub fn variant(&self) -> TWO_8BIT_SENSOR_A[src]

Get enumerated values variant

pub fn is_two_8bit_sensor_0(&self) -> bool[src]

Checks if the value of the field is TWO_8BIT_SENSOR_0

pub fn is_two_8bit_sensor_1(&self) -> bool[src]

Checks if the value of the field is TWO_8BIT_SENSOR_1

impl R<u8, RXFF_LEVEL_A>[src]

pub fn variant(&self) -> RXFF_LEVEL_A[src]

Get enumerated values variant

pub fn is_rx_ff_level_0(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_0

pub fn is_rx_ff_level_1(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_1

pub fn is_rx_ff_level_2(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_2

pub fn is_rx_ff_level_3(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_3

pub fn is_rx_ff_level_4(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_4

pub fn is_rx_ff_level_5(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_5

pub fn is_rx_ff_level_6(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_6

pub fn is_rx_ff_level_7(&self) -> bool[src]

Checks if the value of the field is RXFF_LEVEL_7

impl R<bool, HRESP_ERR_EN_A>[src]

pub fn variant(&self) -> HRESP_ERR_EN_A[src]

Get enumerated values variant

pub fn is_hresp_err_en_0(&self) -> bool[src]

Checks if the value of the field is HRESP_ERR_EN_0

pub fn is_hresp_err_en_1(&self) -> bool[src]

Checks if the value of the field is HRESP_ERR_EN_1

impl R<u8, STATFF_LEVEL_A>[src]

pub fn variant(&self) -> STATFF_LEVEL_A[src]

Get enumerated values variant

pub fn is_statff_level_0(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_0

pub fn is_statff_level_1(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_1

pub fn is_statff_level_2(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_2

pub fn is_statff_level_3(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_3

pub fn is_statff_level_4(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_4

pub fn is_statff_level_5(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_5

pub fn is_statff_level_6(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_6

pub fn is_statff_level_7(&self) -> bool[src]

Checks if the value of the field is STATFF_LEVEL_7

impl R<bool, DMA_REQ_EN_SFF_A>[src]

pub fn variant(&self) -> DMA_REQ_EN_SFF_A[src]

Get enumerated values variant

pub fn is_dma_req_en_sff_0(&self) -> bool[src]

Checks if the value of the field is DMA_REQ_EN_SFF_0

pub fn is_dma_req_en_sff_1(&self) -> bool[src]

Checks if the value of the field is DMA_REQ_EN_SFF_1

impl R<bool, DMA_REQ_EN_RFF_A>[src]

pub fn variant(&self) -> DMA_REQ_EN_RFF_A[src]

Get enumerated values variant

pub fn is_dma_req_en_rff_0(&self) -> bool[src]

Checks if the value of the field is DMA_REQ_EN_RFF_0

pub fn is_dma_req_en_rff_1(&self) -> bool[src]

Checks if the value of the field is DMA_REQ_EN_RFF_1

impl R<bool, DMA_REFLASH_SFF_A>[src]

pub fn variant(&self) -> DMA_REFLASH_SFF_A[src]

Get enumerated values variant

pub fn is_dma_reflash_sff_0(&self) -> bool[src]

Checks if the value of the field is DMA_REFLASH_SFF_0

pub fn is_dma_reflash_sff_1(&self) -> bool[src]

Checks if the value of the field is DMA_REFLASH_SFF_1

impl R<bool, DMA_REFLASH_RFF_A>[src]

pub fn variant(&self) -> DMA_REFLASH_RFF_A[src]

Get enumerated values variant

pub fn is_dma_reflash_rff_0(&self) -> bool[src]

Checks if the value of the field is DMA_REFLASH_RFF_0

pub fn is_dma_reflash_rff_1(&self) -> bool[src]

Checks if the value of the field is DMA_REFLASH_RFF_1

impl R<bool, FRMCNT_RST_A>[src]

pub fn variant(&self) -> FRMCNT_RST_A[src]

Get enumerated values variant

pub fn is_frmcnt_rst_0(&self) -> bool[src]

Checks if the value of the field is FRMCNT_RST_0

pub fn is_frmcnt_rst_1(&self) -> bool[src]

Checks if the value of the field is FRMCNT_RST_1

impl R<u32, Reg<u32, _CSICR3>>[src]

pub fn ecc_auto_en(&self) -> ECC_AUTO_EN_R[src]

Bit 0 - Automatic Error Correction Enable

pub fn ecc_int_en(&self) -> ECC_INT_EN_R[src]

Bit 1 - Error Detection Interrupt Enable

pub fn zero_pack_en(&self) -> ZERO_PACK_EN_R[src]

Bit 2 - Dummy Zero Packing Enable

pub fn two_8bit_sensor(&self) -> TWO_8BIT_SENSOR_R[src]

Bit 3 - Two 8-bit Sensor Mode

pub fn rx_ff_level(&self) -> RXFF_LEVEL_R[src]

Bits 4:6 - RxFIFO Full Level

pub fn hresp_err_en(&self) -> HRESP_ERR_EN_R[src]

Bit 7 - Hresponse Error Enable. This bit enables the hresponse error interrupt.

pub fn statff_level(&self) -> STATFF_LEVEL_R[src]

Bits 8:10 - STATFIFO Full Level

pub fn dma_req_en_sff(&self) -> DMA_REQ_EN_SFF_R[src]

Bit 11 - DMA Request Enable for STATFIFO

pub fn dma_req_en_rff(&self) -> DMA_REQ_EN_RFF_R[src]

Bit 12 - DMA Request Enable for RxFIFO

pub fn dma_reflash_sff(&self) -> DMA_REFLASH_SFF_R[src]

Bit 13 - Reflash DMA Controller for STATFIFO

pub fn dma_reflash_rff(&self) -> DMA_REFLASH_RFF_R[src]

Bit 14 - Reflash DMA Controller for RxFIFO

pub fn frmcnt_rst(&self) -> FRMCNT_RST_R[src]

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

pub fn frmcnt(&self) -> FRMCNT_R[src]

Bits 16:31 - Frame Counter

impl R<u32, Reg<u32, _CSISTATFIFO>>[src]

pub fn stat(&self) -> STAT_R[src]

Bits 0:31 - Static data from sensor

impl R<u32, Reg<u32, _CSIRFIFO>>[src]

pub fn image(&self) -> IMAGE_R[src]

Bits 0:31 - Received image data

impl R<u32, Reg<u32, _CSIRXCNT>>[src]

pub fn rxcnt(&self) -> RXCNT_R[src]

Bits 0:21 - RxFIFO Count

impl R<bool, DRDY_A>[src]

pub fn variant(&self) -> DRDY_A[src]

Get enumerated values variant

pub fn is_drdy_0(&self) -> bool[src]

Checks if the value of the field is DRDY_0

pub fn is_drdy_1(&self) -> bool[src]

Checks if the value of the field is DRDY_1

impl R<bool, ECC_INT_A>[src]

pub fn variant(&self) -> ECC_INT_A[src]

Get enumerated values variant

pub fn is_ecc_int_0(&self) -> bool[src]

Checks if the value of the field is ECC_INT_0

pub fn is_ecc_int_1(&self) -> bool[src]

Checks if the value of the field is ECC_INT_1

impl R<bool, HRESP_ERR_INT_A>[src]

pub fn variant(&self) -> HRESP_ERR_INT_A[src]

Get enumerated values variant

pub fn is_hresp_err_int_0(&self) -> bool[src]

Checks if the value of the field is HRESP_ERR_INT_0

pub fn is_hresp_err_int_1(&self) -> bool[src]

Checks if the value of the field is HRESP_ERR_INT_1

impl R<bool, COF_INT_A>[src]

pub fn variant(&self) -> COF_INT_A[src]

Get enumerated values variant

pub fn is_cof_int_0(&self) -> bool[src]

Checks if the value of the field is COF_INT_0

pub fn is_cof_int_1(&self) -> bool[src]

Checks if the value of the field is COF_INT_1

impl R<bool, F1_INT_A>[src]

pub fn variant(&self) -> F1_INT_A[src]

Get enumerated values variant

pub fn is_f1_int_0(&self) -> bool[src]

Checks if the value of the field is F1_INT_0

pub fn is_f1_int_1(&self) -> bool[src]

Checks if the value of the field is F1_INT_1

impl R<bool, F2_INT_A>[src]

pub fn variant(&self) -> F2_INT_A[src]

Get enumerated values variant

pub fn is_f2_int_0(&self) -> bool[src]

Checks if the value of the field is F2_INT_0

pub fn is_f2_int_1(&self) -> bool[src]

Checks if the value of the field is F2_INT_1

impl R<bool, SOF_INT_A>[src]

pub fn variant(&self) -> SOF_INT_A[src]

Get enumerated values variant

pub fn is_sof_int_0(&self) -> bool[src]

Checks if the value of the field is SOF_INT_0

pub fn is_sof_int_1(&self) -> bool[src]

Checks if the value of the field is SOF_INT_1

impl R<bool, EOF_INT_A>[src]

pub fn variant(&self) -> EOF_INT_A[src]

Get enumerated values variant

pub fn is_eof_int_0(&self) -> bool[src]

Checks if the value of the field is EOF_INT_0

pub fn is_eof_int_1(&self) -> bool[src]

Checks if the value of the field is EOF_INT_1

impl R<bool, RXFF_INT_A>[src]

pub fn variant(&self) -> RXFF_INT_A[src]

Get enumerated values variant

pub fn is_rx_ff_int_0(&self) -> bool[src]

Checks if the value of the field is RXFF_INT_0

pub fn is_rx_ff_int_1(&self) -> bool[src]

Checks if the value of the field is RXFF_INT_1

impl R<bool, DMA_TSF_DONE_FB1_A>[src]

pub fn variant(&self) -> DMA_TSF_DONE_FB1_A[src]

Get enumerated values variant

pub fn is_dma_tsf_done_fb1_0(&self) -> bool[src]

Checks if the value of the field is DMA_TSF_DONE_FB1_0

pub fn is_dma_tsf_done_fb1_1(&self) -> bool[src]

Checks if the value of the field is DMA_TSF_DONE_FB1_1

impl R<bool, DMA_TSF_DONE_FB2_A>[src]

pub fn variant(&self) -> DMA_TSF_DONE_FB2_A[src]

Get enumerated values variant

pub fn is_dma_tsf_done_fb2_0(&self) -> bool[src]

Checks if the value of the field is DMA_TSF_DONE_FB2_0

pub fn is_dma_tsf_done_fb2_1(&self) -> bool[src]

Checks if the value of the field is DMA_TSF_DONE_FB2_1

impl R<bool, STATFF_INT_A>[src]

pub fn variant(&self) -> STATFF_INT_A[src]

Get enumerated values variant

pub fn is_statff_int_0(&self) -> bool[src]

Checks if the value of the field is STATFF_INT_0

pub fn is_statff_int_1(&self) -> bool[src]

Checks if the value of the field is STATFF_INT_1

impl R<bool, DMA_TSF_DONE_SFF_A>[src]

pub fn variant(&self) -> DMA_TSF_DONE_SFF_A[src]

Get enumerated values variant

pub fn is_dma_tsf_done_sff_0(&self) -> bool[src]

Checks if the value of the field is DMA_TSF_DONE_SFF_0

pub fn is_dma_tsf_done_sff_1(&self) -> bool[src]

Checks if the value of the field is DMA_TSF_DONE_SFF_1

impl R<bool, RF_OR_INT_A>[src]

pub fn variant(&self) -> RF_OR_INT_A[src]

Get enumerated values variant

pub fn is_rf_or_int_0(&self) -> bool[src]

Checks if the value of the field is RF_OR_INT_0

pub fn is_rf_or_int_1(&self) -> bool[src]

Checks if the value of the field is RF_OR_INT_1

impl R<bool, SF_OR_INT_A>[src]

pub fn variant(&self) -> SF_OR_INT_A[src]

Get enumerated values variant

pub fn is_sf_or_int_0(&self) -> bool[src]

Checks if the value of the field is SF_OR_INT_0

pub fn is_sf_or_int_1(&self) -> bool[src]

Checks if the value of the field is SF_OR_INT_1

impl R<u32, Reg<u32, _CSISR>>[src]

pub fn drdy(&self) -> DRDY_R[src]

Bit 0 - RXFIFO Data Ready

pub fn ecc_int(&self) -> ECC_INT_R[src]

Bit 1 - CCIR Error Interrupt

pub fn hresp_err_int(&self) -> HRESP_ERR_INT_R[src]

Bit 7 - Hresponse Error Interrupt Status

pub fn cof_int(&self) -> COF_INT_R[src]

Bit 13 - Change Of Field Interrupt Status

pub fn f1_int(&self) -> F1_INT_R[src]

Bit 14 - CCIR Field 1 Interrupt Status

pub fn f2_int(&self) -> F2_INT_R[src]

Bit 15 - CCIR Field 2 Interrupt Status

pub fn sof_int(&self) -> SOF_INT_R[src]

Bit 16 - Start of Frame Interrupt Status. Indicates when SOF is detected. (Cleared by writing 1)

pub fn eof_int(&self) -> EOF_INT_R[src]

Bit 17 - End of Frame (EOF) Interrupt Status. Indicates when EOF is detected. (Cleared by writing 1)

pub fn rx_ff_int(&self) -> RXFF_INT_R[src]

Bit 18 - RXFIFO Full Interrupt Status

pub fn dma_tsf_done_fb1(&self) -> DMA_TSF_DONE_FB1_R[src]

Bit 19 - DMA Transfer Done in Frame Buffer1

pub fn dma_tsf_done_fb2(&self) -> DMA_TSF_DONE_FB2_R[src]

Bit 20 - DMA Transfer Done in Frame Buffer2

pub fn statff_int(&self) -> STATFF_INT_R[src]

Bit 21 - STATFIFO Full Interrupt Status

pub fn dma_tsf_done_sff(&self) -> DMA_TSF_DONE_SFF_R[src]

Bit 22 - DMA Transfer Done from StatFIFO

pub fn rf_or_int(&self) -> RF_OR_INT_R[src]

Bit 24 - RxFIFO Overrun Interrupt Status

pub fn sf_or_int(&self) -> SF_OR_INT_R[src]

Bit 25 - STATFIFO Overrun Interrupt Status

pub fn dma_field1_done(&self) -> DMA_FIELD1_DONE_R[src]

Bit 26 - When DMA field 0 is complete, this bit will be set to 1(clear by writing 1).

pub fn dma_field0_done(&self) -> DMA_FIELD0_DONE_R[src]

Bit 27 - When DMA field 0 is complete, this bit will be set to 1(clear by writing 1).

pub fn baseaddr_chhange_error(&self) -> BASEADDR_CHHANGE_ERROR_R[src]

Bit 28 - When using base address switching enable, this bit will be 1 when switching occur before DMA complete

impl R<u32, Reg<u32, _CSIDMASA_STATFIFO>>[src]

pub fn dma_start_addr_sff(&self) -> DMA_START_ADDR_SFF_R[src]

Bits 2:31 - DMA Start Address for STATFIFO

impl R<u32, Reg<u32, _CSIDMATS_STATFIFO>>[src]

pub fn dma_tsf_size_sff(&self) -> DMA_TSF_SIZE_SFF_R[src]

Bits 0:31 - DMA Transfer Size for STATFIFO

impl R<u32, Reg<u32, _CSIDMASA_FB1>>[src]

pub fn dma_start_addr_fb1(&self) -> DMA_START_ADDR_FB1_R[src]

Bits 2:31 - DMA Start Address in Frame Buffer1

impl R<u32, Reg<u32, _CSIDMASA_FB2>>[src]

pub fn dma_start_addr_fb2(&self) -> DMA_START_ADDR_FB2_R[src]

Bits 2:31 - DMA Start Address in Frame Buffer2

impl R<u32, Reg<u32, _CSIFBUF_PARA>>[src]

pub fn fbuf_stride(&self) -> FBUF_STRIDE_R[src]

Bits 0:15 - Frame Buffer Parameter

pub fn deinterlace_stride(&self) -> DEINTERLACE_STRIDE_R[src]

Bits 16:31 - DEINTERLACE_STRIDE is only used in the deinterlace mode

impl R<u32, Reg<u32, _CSIIMAG_PARA>>[src]

pub fn image_height(&self) -> IMAGE_HEIGHT_R[src]

Bits 0:15 - Image Height. Indicates how many pixels in a column of the image from the sensor.

pub fn image_width(&self) -> IMAGE_WIDTH_R[src]

Bits 16:31 - Image Width

impl R<bool, DEINTERLACE_EN_A>[src]

pub fn variant(&self) -> DEINTERLACE_EN_A[src]

Get enumerated values variant

pub fn is_deinterlace_en_0(&self) -> bool[src]

Checks if the value of the field is DEINTERLACE_EN_0

pub fn is_deinterlace_en_1(&self) -> bool[src]

Checks if the value of the field is DEINTERLACE_EN_1

impl R<bool, BASEADDR_SWITCH_SEL_A>[src]

pub fn variant(&self) -> BASEADDR_SWITCH_SEL_A[src]

Get enumerated values variant

pub fn is_baseaddr_switch_sel_0(&self) -> bool[src]

Checks if the value of the field is BASEADDR_SWITCH_SEL_0

pub fn is_baseaddr_switch_sel_1(&self) -> bool[src]

Checks if the value of the field is BASEADDR_SWITCH_SEL_1

impl R<bool, FIELD0_DONE_IE_A>[src]

pub fn variant(&self) -> FIELD0_DONE_IE_A[src]

Get enumerated values variant

pub fn is_field0_done_ie_0(&self) -> bool[src]

Checks if the value of the field is FIELD0_DONE_IE_0

pub fn is_field0_done_ie_1(&self) -> bool[src]

Checks if the value of the field is FIELD0_DONE_IE_1

impl R<bool, DMA_FIELD1_DONE_IE_A>[src]

pub fn variant(&self) -> DMA_FIELD1_DONE_IE_A[src]

Get enumerated values variant

pub fn is_dma_field1_done_ie_0(&self) -> bool[src]

Checks if the value of the field is DMA_FIELD1_DONE_IE_0

pub fn is_dma_field1_done_ie_1(&self) -> bool[src]

Checks if the value of the field is DMA_FIELD1_DONE_IE_1

impl R<bool, LAST_DMA_REQ_SEL_A>[src]

pub fn variant(&self) -> LAST_DMA_REQ_SEL_A[src]

Get enumerated values variant

pub fn is_last_dma_req_sel_0(&self) -> bool[src]

Checks if the value of the field is LAST_DMA_REQ_SEL_0

pub fn is_last_dma_req_sel_1(&self) -> bool[src]

Checks if the value of the field is LAST_DMA_REQ_SEL_1

impl R<bool, RGB888A_FORMAT_SEL_A>[src]

pub fn variant(&self) -> RGB888A_FORMAT_SEL_A[src]

Get enumerated values variant

pub fn is_rgb888a_format_sel_0(&self) -> bool[src]

Checks if the value of the field is RGB888A_FORMAT_SEL_0

pub fn is_rgb888a_format_sel_1(&self) -> bool[src]

Checks if the value of the field is RGB888A_FORMAT_SEL_1

impl R<u8, MASK_OPTION_A>[src]

pub fn variant(&self) -> MASK_OPTION_A[src]

Get enumerated values variant

pub fn is_mask_option_0(&self) -> bool[src]

Checks if the value of the field is MASK_OPTION_0

pub fn is_mask_option_1(&self) -> bool[src]

Checks if the value of the field is MASK_OPTION_1

pub fn is_mask_option_2(&self) -> bool[src]

Checks if the value of the field is MASK_OPTION_2

pub fn is_mask_option_3(&self) -> bool[src]

Checks if the value of the field is MASK_OPTION_3

impl R<u32, Reg<u32, _CSICR18>>[src]

pub fn deinterlace_en(&self) -> DEINTERLACE_EN_R[src]

Bit 2 - This bit is used to select the output method When input is standard CCIR656 video.

pub fn parallel24_en(&self) -> PARALLEL24_EN_R[src]

Bit 3 - When input is parallel rgb888/yuv444 24bit, this bit can be enabled.

pub fn baseaddr_switch_en(&self) -> BASEADDR_SWITCH_EN_R[src]

Bit 4 - When this bit is enabled, CSI DMA will switch the base address according to BASEADDR_SWITCH_SEL rather than atomically by DMA completed

pub fn baseaddr_switch_sel(&self) -> BASEADDR_SWITCH_SEL_R[src]

Bit 5 - CSI 2 base addresses switching method. When using this bit, BASEADDR_SWITCH_EN is 1.

pub fn field0_done_ie(&self) -> FIELD0_DONE_IE_R[src]

Bit 6 - In interlace mode, fileld 0 means interrupt enabled.

pub fn dma_field1_done_ie(&self) -> DMA_FIELD1_DONE_IE_R[src]

Bit 7 - When in interlace mode, field 1 done interrupt enable.

pub fn last_dma_req_sel(&self) -> LAST_DMA_REQ_SEL_R[src]

Bit 8 - Choosing the last DMA request condition.

pub fn baseaddr_change_error_ie(&self) -> BASEADDR_CHANGE_ERROR_IE_R[src]

Bit 9 - Base address change error interrupt enable signal.

pub fn rgb888a_format_sel(&self) -> RGB888A_FORMAT_SEL_R[src]

Bit 10 - Output is 32-bit format.

pub fn ahb_hprot(&self) -> AHB_HPROT_R[src]

Bits 12:15 - Hprot value in AHB bus protocol.

pub fn mask_option(&self) -> MASK_OPTION_R[src]

Bits 18:19 - These bits used to choose the method to mask the CSI input.

pub fn csi_enable(&self) -> CSI_ENABLE_R[src]

Bit 31 - CSI global enable signal

impl R<u32, Reg<u32, _CSICR19>>[src]

pub fn dma_rfifo_highest_fifo_level(&self) -> DMA_RFIFO_HIGHEST_FIFO_LEVEL_R[src]

Bits 0:7 - This byte stores the highest FIFO level achieved by CSI FIFO timely and will be clear by writing 8'ff to it

Trait Implementations

impl<U, T, FI> PartialEq<FI> for R<U, T> where
    U: PartialEq,
    FI: Copy + Into<U>, 
[src]

Auto Trait Implementations

impl<U, T> Send for R<U, T> where
    T: Send,
    U: Send

impl<U, T> Sync for R<U, T> where
    T: Sync,
    U: Sync

impl<U, T> Unpin for R<U, T> where
    T: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.