Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 72 fields pub dsi_vr: DSI_VR, pub dsi_cr: DSI_CR, pub dsihsot_ccr: DSIHSOT_CCR, pub dsi_lvcidr: DSI_LVCIDR, pub dsi_lcolcr: DSI_LCOLCR, pub dsi_lpcr: DSI_LPCR, pub dsi_lpmcr: DSI_LPMCR, pub dsi_pcr: DSI_PCR, pub dsi_gvcidr: DSI_GVCIDR, pub dsi_mcr: DSI_MCR, pub dsi_vmcr: DSI_VMCR, pub dsi_vpcr: DSI_VPCR, pub dsi_vccr: DSI_VCCR, pub dsi_vnpcr: DSI_VNPCR, pub dsi_vhsacr: DSI_VHSACR, pub dsi_vhbpcr: DSI_VHBPCR, pub dsi_vlcr: DSI_VLCR, pub dsi_vvsacr: DSI_VVSACR, pub dsi_vvbpcr: DSI_VVBPCR, pub dsi_vvfpcr: DSI_VVFPCR, pub dsi_vvacr: DSI_VVACR, pub dsi_lccr: DSI_LCCR, pub dsi_cmcr: DSI_CMCR, pub dsi_ghcr: DSI_GHCR, pub dsi_gpdr: DSI_GPDR, pub dsi_gpsr: DSI_GPSR, pub dsi_tccr1: DSI_TCCR1, pub dsi_tccr2: DSI_TCCR2, pub dsi_tccr3: DSI_TCCR3, pub dsi_tccr4: DSI_TCCR4, pub dsi_tccr5: DSI_TCCR5, pub dsi_tccr6: DSI_TCCR6, pub dsi_clcr: DSI_CLCR, pub dsi_cltcr: DSI_CLTCR, pub dsi_dltcr: DSI_DLTCR, pub dsi_pctlr: DSI_PCTLR, pub dsi_pcconfr: DSI_PCCONFR, pub dsi_pucr: DSI_PUCR, pub dsi_pttcr: DSI_PTTCR, pub dsi_psr: DSI_PSR, pub dsi_isr0: DSI_ISR0, pub dsi_isr1: DSI_ISR1, pub dsi_ier0: DSI_IER0, pub dsi_ier1: DSI_IER1, pub dsi_fir0: DSI_FIR0, pub dsi_fir1: DSI_FIR1, pub dsi_vscr: DSI_VSCR, pub dsi_lcvcidr: DSI_LCVCIDR, pub dsi_lcccr: DSI_LCCCR, pub dsi_lpmccr: DSI_LPMCCR, pub dsi_vmccr: DSI_VMCCR, pub dsi_vpccr: DSI_VPCCR, pub dsi_vcccr: DSI_VCCCR, pub dsi_vnpccr: DSI_VNPCCR, pub dsi_vhsaccr: DSI_VHSACCR, pub dsi_vhbpccr: DSI_VHBPCCR, pub dsi_vlccr: DSI_VLCCR, pub dsi_vvsaccr: DSI_VVSACCR, pub dsi_vvbpccr: DSI_VVBPCCR, pub dsi_vvfpccr: DSI_VVFPCCR, pub dsi_vvaccr: DSI_VVACCR, pub dsi_wcfgr: DSI_WCFGR, pub dsi_wcr: DSI_WCR, pub dsi_wier: DSI_WIER, pub dsi_wisr: DSI_WISR, pub dsi_wifcr: DSI_WIFCR, pub dsi_wpcr1: DSI_WPCR1, pub dsi_wpcr2: DSI_WPCR2, pub dsi_wpcr3: DSI_WPCR3, pub dsi_wpcr4: DSI_WPCR4, pub dsi_wpcr5: DSI_WPCR5, pub dsi_wrpcr: DSI_WRPCR, /* private fields */
}
Expand description

Register block

Fields§

§dsi_vr: DSI_VR

0x00 - DSI Host Version Register

§dsi_cr: DSI_CR

0x04 - DSI Host Control Register

§dsihsot_ccr: DSIHSOT_CCR

0x08 - DSI HOST Clock Control Register

§dsi_lvcidr: DSI_LVCIDR

0x0c - DSI Host LTDC VCID Register

§dsi_lcolcr: DSI_LCOLCR

0x10 - DSI Host LTDC Color Coding Register

§dsi_lpcr: DSI_LPCR

0x14 - DSI Host LTDC Polarity Configuration Register

§dsi_lpmcr: DSI_LPMCR

0x18 - DSI Host Low-Power Mode Configuration Register

§dsi_pcr: DSI_PCR

0x2c - DSI Host Protocol Configuration Register

§dsi_gvcidr: DSI_GVCIDR

0x30 - DSI Host Generic VCID Register

§dsi_mcr: DSI_MCR

0x34 - DSI Host Mode Configuration Register

§dsi_vmcr: DSI_VMCR

0x38 - DSI Host Video mode Configuration Register

§dsi_vpcr: DSI_VPCR

0x3c - DSI Host Video Packet Configuration Register

§dsi_vccr: DSI_VCCR

0x40 - DSI Host Video Chunks Configuration Register

§dsi_vnpcr: DSI_VNPCR

0x44 - DSI Host Video Null Packet Configuration Register

§dsi_vhsacr: DSI_VHSACR

0x48 - DSI Host Video HSA Configuration Register

§dsi_vhbpcr: DSI_VHBPCR

0x4c - DSI Host Video HBP Configuration Register

§dsi_vlcr: DSI_VLCR

0x50 - DSI Host Video Line Configuration Register

§dsi_vvsacr: DSI_VVSACR

0x54 - DSI Host Video VSA Configuration Register

§dsi_vvbpcr: DSI_VVBPCR

0x58 - DSI Host Video VBP Configuration Register

§dsi_vvfpcr: DSI_VVFPCR

0x5c - DSI Host Video VFP Configuration Register

§dsi_vvacr: DSI_VVACR

0x60 - DSI Host Video VA Configuration Register

§dsi_lccr: DSI_LCCR

0x64 - DSI Host LTDC Command Configuration Register

§dsi_cmcr: DSI_CMCR

0x68 - DSI Host Command mode Configuration Register

§dsi_ghcr: DSI_GHCR

0x6c - DSI Host Generic Header Configuration Register

§dsi_gpdr: DSI_GPDR

0x70 - DSI Host Generic Payload Data Register

§dsi_gpsr: DSI_GPSR

0x74 - DSI Host Generic Packet Status Register

§dsi_tccr1: DSI_TCCR1

0x78 - DSI Host Timeout Counter Configuration Register1

§dsi_tccr2: DSI_TCCR2

0x7c - DSI Host Timeout Counter Configuration Register2

§dsi_tccr3: DSI_TCCR3

0x80 - DSI Host Timeout Counter Configuration Register3

§dsi_tccr4: DSI_TCCR4

0x84 - DSI Host Timeout Counter Configuration Register4

§dsi_tccr5: DSI_TCCR5

0x88 - DSI Host Timeout Counter Configuration Register5

§dsi_tccr6: DSI_TCCR6

0x8c - DSI Host Timeout Counter Configuration Register6

§dsi_clcr: DSI_CLCR

0x94 - DSI Host Clock Lane Configuration Register

§dsi_cltcr: DSI_CLTCR

0x98 - DSI Host Clock Lane Timer Configuration Register

§dsi_dltcr: DSI_DLTCR

0x9c - DSI Host Data Lane Timer Configuration Register

§dsi_pctlr: DSI_PCTLR

0xa0 - DSI Host PHY Control Register

§dsi_pcconfr: DSI_PCCONFR

0xa4 - DSI Host PHY Configuration Register

§dsi_pucr: DSI_PUCR

0xa8 - DSI Host PHY ULPS Control Register

§dsi_pttcr: DSI_PTTCR

0xac - DSI Host PHY TX Triggers Configuration Register

§dsi_psr: DSI_PSR

0xb0 - DSI Host PHY Status Register

§dsi_isr0: DSI_ISR0

0xbc - DSI Host Interrupt & Status Register 0

§dsi_isr1: DSI_ISR1

0xc0 - DSI Host Interrupt & Status Register 1

§dsi_ier0: DSI_IER0

0xc4 - DSI Host Interrupt Enable Register 0

§dsi_ier1: DSI_IER1

0xc8 - DSI Host Interrupt Enable Register 1

§dsi_fir0: DSI_FIR0

0xd8 - DSI Host Force Interrupt Register 0

§dsi_fir1: DSI_FIR1

0xdc - DSI Host Force Interrupt Register 1

§dsi_vscr: DSI_VSCR

0x100 - DSI Host Video Shadow Control Register

§dsi_lcvcidr: DSI_LCVCIDR

0x10c - DSI Host LTDC Current VCID Register

§dsi_lcccr: DSI_LCCCR

0x110 - DSI Host LTDC Current Color Coding Register

§dsi_lpmccr: DSI_LPMCCR

0x118 - DSI Host Low-power Mode Current Configuration Register

§dsi_vmccr: DSI_VMCCR

0x138 - DSI Host Video mode Current Configuration Register

§dsi_vpccr: DSI_VPCCR

0x13c - DSI Host Video Packet Current Configuration Register

§dsi_vcccr: DSI_VCCCR

0x140 - DSI Host Video Chunks Current Configuration Register

§dsi_vnpccr: DSI_VNPCCR

0x144 - DSI Host Video Null Packet Current Configuration Register

§dsi_vhsaccr: DSI_VHSACCR

0x148 - DSI Host Video HSA Current Configuration Register

§dsi_vhbpccr: DSI_VHBPCCR

0x14c - DSI Host Video HBP Current Configuration Register

§dsi_vlccr: DSI_VLCCR

0x150 - DSI Host Video Line Current Configuration Register

§dsi_vvsaccr: DSI_VVSACCR

0x154 - DSI Host Video VSA Current Configuration Register

§dsi_vvbpccr: DSI_VVBPCCR

0x158 - DSI Host Video VBP Current Configuration Register

§dsi_vvfpccr: DSI_VVFPCCR

0x15c - DSI Host Video VFP Current Configuration Register

§dsi_vvaccr: DSI_VVACCR

0x160 - DSI Host Video VA Current Configuration Register

§dsi_wcfgr: DSI_WCFGR

0x400 - DSI Wrapper Configuration Register

§dsi_wcr: DSI_WCR

0x404 - DSI Wrapper Control Register

§dsi_wier: DSI_WIER

0x408 - DSI Wrapper Interrupt Enable Register

§dsi_wisr: DSI_WISR

0x40c - DSI Wrapper Interrupt & Status Register

§dsi_wifcr: DSI_WIFCR

0x410 - DSI Wrapper Interrupt Flag Clear Register

§dsi_wpcr1: DSI_WPCR1

0x418 - DSI Wrapper PHY Configuration Register 1

§dsi_wpcr2: DSI_WPCR2

0x41c - DSI Wrapper PHY Configuration Register 2

§dsi_wpcr3: DSI_WPCR3

0x420 - DSI Wrapper PHY Configuration Register 3

§dsi_wpcr4: DSI_WPCR4

0x424 - DSI_WPCR4

§dsi_wpcr5: DSI_WPCR5

0x428 - DSI Wrapper PHY Configuration Register 5

§dsi_wrpcr: DSI_WRPCR

0x430 - DSI Wrapper Regulator and PLL Control 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> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.