#[repr(C)]
pub struct RegisterBlock {
Show 25 fields pub cfg1: CFG1, pub cfg2: CFG2, pub psize: PSIZE, pub pdecf: PDECF, pub y2r_set0: Y2R_SET0, pub y2r_set1: Y2R_SET1, pub r2y_set0: R2Y_SET0, pub r2y_set1: R2Y_SET1, pub r2y_set2: R2Y_SET2, pub cr: CR, pub sr: SR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub dma_cher: DMA_CHER, pub dma_chdr: DMA_CHDR, pub dma_chsr: DMA_CHSR, pub dma_p_addr: DMA_P_ADDR, pub dma_p_ctrl: DMA_P_CTRL, pub dma_p_dscr: DMA_P_DSCR, pub dma_c_addr: DMA_C_ADDR, pub dma_c_ctrl: DMA_C_CTRL, pub dma_c_dscr: DMA_C_DSCR, pub wpmr: WPMR, pub wpsr: WPSR, /* private fields */
}
Expand description

Register block

Fields§

§cfg1: CFG1

0x00 - ISI Configuration 1 Register

§cfg2: CFG2

0x04 - ISI Configuration 2 Register

§psize: PSIZE

0x08 - ISI Preview Size Register

§pdecf: PDECF

0x0c - ISI Preview Decimation Factor Register

§y2r_set0: Y2R_SET0

0x10 - ISI Color Space Conversion YCrCb To RGB Set 0 Register

§y2r_set1: Y2R_SET1

0x14 - ISI Color Space Conversion YCrCb To RGB Set 1 Register

§r2y_set0: R2Y_SET0

0x18 - ISI Color Space Conversion RGB To YCrCb Set 0 Register

§r2y_set1: R2Y_SET1

0x1c - ISI Color Space Conversion RGB To YCrCb Set 1 Register

§r2y_set2: R2Y_SET2

0x20 - ISI Color Space Conversion RGB To YCrCb Set 2 Register

§cr: CR

0x24 - ISI Control Register

§sr: SR

0x28 - ISI Status Register

§ier: IER

0x2c - ISI Interrupt Enable Register

§idr: IDR

0x30 - ISI Interrupt Disable Register

§imr: IMR

0x34 - ISI Interrupt Mask Register

§dma_cher: DMA_CHER

0x38 - DMA Channel Enable Register

§dma_chdr: DMA_CHDR

0x3c - DMA Channel Disable Register

§dma_chsr: DMA_CHSR

0x40 - DMA Channel Status Register

§dma_p_addr: DMA_P_ADDR

0x44 - DMA Preview Base Address Register

§dma_p_ctrl: DMA_P_CTRL

0x48 - DMA Preview Control Register

§dma_p_dscr: DMA_P_DSCR

0x4c - DMA Preview Descriptor Address Register

§dma_c_addr: DMA_C_ADDR

0x50 - DMA Codec Base Address Register

§dma_c_ctrl: DMA_C_CTRL

0x54 - DMA Codec Control Register

§dma_c_dscr: DMA_C_DSCR

0x58 - DMA Codec Descriptor Address Register

§wpmr: WPMR

0xe4 - Write Protection Mode Register

§wpsr: WPSR

0xe8 - Write Protection Status Register

Auto Trait Implementations§

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.