#[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)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.