pub struct TCON_LCD0 { /* private fields */ }Expand description
Timing COntroller LCD
Implementations§
Source§impl TCON_LCD0
impl TCON_LCD0
Sourcepub const PTR: *const RegisterBlock = {0x5461000 as *const tcon_lcd0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x5461000 as *const tcon_lcd0::RegisterBlock}
Pointer to the register block
Sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn lcd_frm_ctl(&self) -> &LCD_FRM_CTL
pub fn lcd_frm_ctl(&self) -> &LCD_FRM_CTL
0x10 - LCD FRM Control Register
Sourcepub fn lcd_frm_seed(&self, n: usize) -> &LCD_FRM_SEED
pub fn lcd_frm_seed(&self, n: usize) -> &LCD_FRM_SEED
0x14..0x2c - LCD FRM Seed Register
Sourcepub fn lcd_frm_tab(&self, n: usize) -> &LCD_FRM_TAB
pub fn lcd_frm_tab(&self, n: usize) -> &LCD_FRM_TAB
0x2c..0x3c - LCD FRM Table Register
Sourcepub fn lcd_3d_fifo(&self) -> &LCD_3D_FIFO
pub fn lcd_3d_fifo(&self) -> &LCD_3D_FIFO
0x3c - LCD 3D FIFO Register
Sourcepub fn lcd_basic0(&self) -> &LCD_BASIC0
pub fn lcd_basic0(&self) -> &LCD_BASIC0
0x48 - LCD Basic Timing Register0
Sourcepub fn lcd_basic1(&self) -> &LCD_BASIC1
pub fn lcd_basic1(&self) -> &LCD_BASIC1
0x4c - LCD Basic Timing Register1
Sourcepub fn lcd_basic2(&self) -> &LCD_BASIC2
pub fn lcd_basic2(&self) -> &LCD_BASIC2
0x50 - LCD Basic Timing Register2
Sourcepub fn lcd_basic3(&self) -> &LCD_BASIC3
pub fn lcd_basic3(&self) -> &LCD_BASIC3
0x54 - LCD Basic Timing Register3
Sourcepub fn lcd_cpu_if(&self) -> &LCD_CPU_IF
pub fn lcd_cpu_if(&self) -> &LCD_CPU_IF
0x60 - LCD CPU Panel Interface Register
Sourcepub fn lcd_cpu_wr(&self) -> &LCD_CPU_WR
pub fn lcd_cpu_wr(&self) -> &LCD_CPU_WR
0x64 - LCD CPU Panel Write Data Register
Sourcepub fn lcd_cpu_rd(&self, n: usize) -> &LCD_CPU_RD
pub fn lcd_cpu_rd(&self, n: usize) -> &LCD_CPU_RD
0x68..0x70 - LCD CPU Panel Read Data Register[i]
Sourcepub fn lcd_lvds_if(&self) -> &LCD_LVDS_IF
pub fn lcd_lvds_if(&self) -> &LCD_LVDS_IF
0x84 - LCD LVDS Configure Register
Sourcepub fn lcd_io_pol(&self) -> &LCD_IO_POL
pub fn lcd_io_pol(&self) -> &LCD_IO_POL
0x88 - LCD IO Polarity Register
Sourcepub fn lcd_io_tri(&self) -> &LCD_IO_TRI
pub fn lcd_io_tri(&self) -> &LCD_IO_TRI
0x8c - LCD IO Control Register
Sourcepub fn lcd_ceu_ctl(&self) -> &LCD_CEU_CTL
pub fn lcd_ceu_ctl(&self) -> &LCD_CEU_CTL
0x100 - LCD CEU Control Register
Sourcepub fn lcd_ceu_coef_mul(&self, n: usize) -> &LCD_CEU_COEF_MUL
pub fn lcd_ceu_coef_mul(&self, n: usize) -> &LCD_CEU_COEF_MUL
0x110..0x11c - LCD CEU Coefficient Register0
Sourcepub fn lcd_ceu_coef_add(&self, n: usize) -> &LCD_CEU_COEF_ADD
pub fn lcd_ceu_coef_add(&self, n: usize) -> &LCD_CEU_COEF_ADD
0x11c..0x128 - LCD CEU Coefficient Register1
Sourcepub fn lcd_ceu_coef_rang(&self, n: usize) -> &LCD_CEU_COEF_RANG
pub fn lcd_ceu_coef_rang(&self, n: usize) -> &LCD_CEU_COEF_RANG
0x140..0x14c - LCD CEU Coefficient Register2
Sourcepub fn lcd_cpu_tri0(&self) -> &LCD_CPU_TRI0
pub fn lcd_cpu_tri0(&self) -> &LCD_CPU_TRI0
0x160 - LCD CPU Panel Trigger Register0
Sourcepub fn lcd_cpu_tri1(&self) -> &LCD_CPU_TRI1
pub fn lcd_cpu_tri1(&self) -> &LCD_CPU_TRI1
0x164 - LCD CPU Panel Trigger Register1
Sourcepub fn lcd_cpu_tri2(&self) -> &LCD_CPU_TRI2
pub fn lcd_cpu_tri2(&self) -> &LCD_CPU_TRI2
0x168 - LCD CPU Panel Trigger Register2
Sourcepub fn lcd_cpu_tri3(&self) -> &LCD_CPU_TRI3
pub fn lcd_cpu_tri3(&self) -> &LCD_CPU_TRI3
0x16c - LCD CPU Panel Trigger Register3
Sourcepub fn lcd_cpu_tri4(&self) -> &LCD_CPU_TRI4
pub fn lcd_cpu_tri4(&self) -> &LCD_CPU_TRI4
0x170 - LCD CPU Panel Trigger Register4
Sourcepub fn lcd_cpu_tri5(&self) -> &LCD_CPU_TRI5
pub fn lcd_cpu_tri5(&self) -> &LCD_CPU_TRI5
0x174 - LCD CPU Panel Trigger Register5
Sourcepub fn lcd_cmap_ctl(&self) -> &LCD_CMAP_CTL
pub fn lcd_cmap_ctl(&self) -> &LCD_CMAP_CTL
0x180 - LCD Color Map Control Register
Sourcepub fn lcd_cmap_odd(&self, n: usize) -> &LCD_CMAP_ODD
pub fn lcd_cmap_odd(&self, n: usize) -> &LCD_CMAP_ODD
0x190..0x198 - LCD Color Map Odd Line Register[i]
Sourcepub fn lcd_cmap_even(&self, n: usize) -> &LCD_CMAP_EVEN
pub fn lcd_cmap_even(&self, n: usize) -> &LCD_CMAP_EVEN
0x198..0x1a0 - LCD Color Map Even Line Register[i]
Sourcepub fn lcd_safe_period(&self) -> &LCD_SAFE_PERIOD
pub fn lcd_safe_period(&self) -> &LCD_SAFE_PERIOD
0x1f0 - LCD Safe Period Register
Sourcepub fn lcd_lvds_ana(&self, n: usize) -> &LCD_LVDS_ANA
pub fn lcd_lvds_ana(&self, n: usize) -> &LCD_LVDS_ANA
0x220..0x228 - LCD LVDS Analog Register [i]
Sourcepub fn fsync_gen_ctrl(&self) -> &FSYNC_GEN_CTRL
pub fn fsync_gen_ctrl(&self) -> &FSYNC_GEN_CTRL
0x228 - FSYNC_GEN_CTRL
Sourcepub fn fsync_gen_dly(&self) -> &FSYNC_GEN_DLY
pub fn fsync_gen_dly(&self) -> &FSYNC_GEN_DLY
0x22c - FSYNC_GEN_DLY
Sourcepub fn lcd_sync_ctl(&self) -> &LCD_SYNC_CTL
pub fn lcd_sync_ctl(&self) -> &LCD_SYNC_CTL
0x230 - LCD Sync Control Register
Sourcepub fn lcd_sync_pos(&self) -> &LCD_SYNC_POS
pub fn lcd_sync_pos(&self) -> &LCD_SYNC_POS
0x234 - LCD Sync Position Register
Sourcepub fn lcd_slave_stop_pos(&self) -> &LCD_SLAVE_STOP_POS
pub fn lcd_slave_stop_pos(&self) -> &LCD_SLAVE_STOP_POS
0x238 - LCD Slave Stop Position Register
Sourcepub fn lcd_gamma_table(&self, n: usize) -> &LCD_GAMMA_TABLE
pub fn lcd_gamma_table(&self, n: usize) -> &LCD_GAMMA_TABLE
0x400..0x800 - LCD Gamma Table Register