Struct ch32v3::ch32v30x::dvp::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 15 fields
pub cr0: CR0,
pub cr1: CR1,
pub ier: IER,
pub row_num: ROW_NUM,
pub col_num: COL_NUM,
pub dma_buf0: DMA_BUF0,
pub dma_buf1: DMA_BUF1,
pub ifr: IFR,
pub status: STATUS,
pub row_cnt: ROW_CNT,
pub hoffcnt: HOFFCNT,
pub vst: VST,
pub capcnt: CAPCNT,
pub vline: VLINE,
pub dr: DR,
/* private fields */
}
Expand description
Register block
Fields§
§cr0: CR0
0x00 - Digital Video control register (DVP_CR0)
cr1: CR1
0x01 - Digital Video control register (DVP_CR1)
ier: IER
0x02 - Digital Video Interrupt register (DVP_IER)
row_num: ROW_NUM
0x04 - Image line count configuration register (DVP_ROW_NUM)
col_num: COL_NUM
0x06 - Image column number configuration register (DVP_COL_NUM)
dma_buf0: DMA_BUF0
0x08 - Digital Video DMA address register (DVP_DMA_BUF0)
dma_buf1: DMA_BUF1
0x0c - Digital Video DMA address register (DVP_DMA_BUF1)
ifr: IFR
0x10 - Digital Video Flag register (DVP_IFR)
status: STATUS
0x11 - Digital Video STATUS register (DVP_STATUS)
row_cnt: ROW_CNT
0x14 - Digital Video line counter register (DVP_ROW_CNT)
hoffcnt: HOFFCNT
0x18 - Digital Video horizontal displacement register (DVP_HOFFCNT)
vst: VST
0x1a - Digital Video line number register (DVP_VST)
capcnt: CAPCNT
0x1c - Digital Video Capture count register (DVP_CAPCNT)
vline: VLINE
0x1e - Digital Video Vertical line count register (DVP_VLINE)
dr: DR
0x20 - Digital Video Data register (DVP_DR)