RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn lcd_gctl(&self) -> &LCD_GCTL

0x00 - LCD Global Control Register

Source

pub const fn lcd_gint0(&self) -> &LCD_GINT0

0x04 - LCD Global Interrupt Register0

Source

pub const fn lcd_gint1(&self) -> &LCD_GINT1

0x08 - LCD Global Interrupt Register1

Source

pub const fn lcd_frm_ctl(&self) -> &LCD_FRM_CTL

0x10 - LCD FRM Control Register

Source

pub const fn lcd_frm_seed(&self, n: usize) -> &LCD_FRM_SEED

0x14..0x2c - LCD FRM Seed Register

Source

pub const fn lcd_frm_tab(&self, n: usize) -> &LCD_FRM_TAB

0x2c..0x3c - LCD FRM Table Register

Source

pub const fn lcd_3d_fifo(&self) -> &LCD_3D_FIFO

0x3c - LCD 3D FIFO Register

Source

pub const fn lcd_ctl(&self) -> &LCD_CTL

0x40 - LCD Control Register

Source

pub const fn lcd_dclk(&self) -> &LCD_DCLK

0x44 - LCD Data Clock Register

Source

pub const fn lcd_basic0(&self) -> &LCD_BASIC0

0x48 - LCD Basic Timing Register0

Source

pub const fn lcd_basic1(&self) -> &LCD_BASIC1

0x4c - LCD Basic Timing Register1

Source

pub const fn lcd_basic2(&self) -> &LCD_BASIC2

0x50 - LCD Basic Timing Register2

Source

pub const fn lcd_basic3(&self) -> &LCD_BASIC3

0x54 - LCD Basic Timing Register3

Source

pub const fn lcd_hv_if(&self) -> &LCD_HV_IF

0x58 - LCD HV Panel Interface Register

Source

pub const fn lcd_cpu_if(&self) -> &LCD_CPU_IF

0x60 - LCD CPU Panel Interface Register

Source

pub const fn lcd_cpu_wr(&self) -> &LCD_CPU_WR

0x64 - LCD CPU Panel Write Data Register

Source

pub const fn lcd_cpu_rd(&self, n: usize) -> &LCD_CPU_RD

0x68..0x70 - LCD CPU Panel Read Data Register[i]

Source

pub const fn lcd_lvds_if(&self) -> &LCD_LVDS_IF

0x84 - LCD LVDS Configure Register

Source

pub const fn lcd_io_pol(&self) -> &LCD_IO_POL

0x88 - LCD IO Polarity Register

Source

pub const fn lcd_io_tri(&self) -> &LCD_IO_TRI

0x8c - LCD IO Control Register

Source

pub const fn lcd_debug(&self) -> &LCD_DEBUG

0xfc - LCD Debug Register

Source

pub const fn lcd_ceu_ctl(&self) -> &LCD_CEU_CTL

0x100 - LCD CEU Control Register

Source

pub const fn lcd_ceu_coef_mul(&self, n: usize) -> &LCD_CEU_COEF_MUL

0x110..0x11c - LCD CEU Coefficient Register0

Source

pub const fn lcd_ceu_coef_add(&self, n: usize) -> &LCD_CEU_COEF_ADD

0x11c..0x128 - LCD CEU Coefficient Register1

Source

pub const fn lcd_ceu_coef_rang(&self, n: usize) -> &LCD_CEU_COEF_RANG

0x140..0x14c - LCD CEU Coefficient Register2

Source

pub const fn lcd_cpu_tri0(&self) -> &LCD_CPU_TRI0

0x160 - LCD CPU Panel Trigger Register0

Source

pub const fn lcd_cpu_tri1(&self) -> &LCD_CPU_TRI1

0x164 - LCD CPU Panel Trigger Register1

Source

pub const fn lcd_cpu_tri2(&self) -> &LCD_CPU_TRI2

0x168 - LCD CPU Panel Trigger Register2

Source

pub const fn lcd_cpu_tri3(&self) -> &LCD_CPU_TRI3

0x16c - LCD CPU Panel Trigger Register3

Source

pub const fn lcd_cpu_tri4(&self) -> &LCD_CPU_TRI4

0x170 - LCD CPU Panel Trigger Register4

Source

pub const fn lcd_cpu_tri5(&self) -> &LCD_CPU_TRI5

0x174 - LCD CPU Panel Trigger Register5

Source

pub const fn lcd_cmap_ctl(&self) -> &LCD_CMAP_CTL

0x180 - LCD Color Map Control Register

Source

pub const fn lcd_cmap_odd(&self, n: usize) -> &LCD_CMAP_ODD

0x190..0x198 - LCD Color Map Odd Line Register[i]

Source

pub const fn lcd_cmap_even(&self, n: usize) -> &LCD_CMAP_EVEN

0x198..0x1a0 - LCD Color Map Even Line Register[i]

Source

pub const fn lcd_safe_period(&self) -> &LCD_SAFE_PERIOD

0x1f0 - LCD Safe Period Register

Source

pub const fn lcd_lvds_ana(&self, n: usize) -> &LCD_LVDS_ANA

0x220..0x228 - LCD LVDS Analog Register [i]

Source

pub const fn fsync_gen_ctrl(&self) -> &FSYNC_GEN_CTRL

0x228 - FSYNC_GEN_CTRL

Source

pub const fn fsync_gen_dly(&self) -> &FSYNC_GEN_DLY

0x22c - FSYNC_GEN_DLY

Source

pub const fn lcd_sync_ctl(&self) -> &LCD_SYNC_CTL

0x230 - LCD Sync Control Register

Source

pub const fn lcd_sync_pos(&self) -> &LCD_SYNC_POS

0x234 - LCD Sync Position Register

Source

pub const fn lcd_slave_stop_pos(&self) -> &LCD_SLAVE_STOP_POS

0x238 - LCD Slave Stop Position Register

Source

pub const fn lcd_gamma_table(&self, n: usize) -> &LCD_GAMMA_TABLE

0x400..0x800 - LCD Gamma Table 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>,

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.