Skip to main content

RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn global_config(&self) -> &GlobalConfig

0x100 - Global configuration register

Source

pub const fn timing(&self) -> &Timing

0x110 - Timing configuration register

Source

pub const fn int_raw_status(&self) -> &IntRawStatus

0x120 - Interrupt raw status register

Source

pub const fn int_status(&self) -> &IntStatus

0x124 - Interrupt status register (masked)

Source

pub const fn int_mask(&self) -> &IntMask

0x128 - Interrupt mask register

Source

pub const fn int_clear(&self) -> &IntClear

0x12c - Interrupt clear register

Source

pub const fn soft_rst_mask(&self) -> &SoftRstMask

0x130 - Soft reset mask register

Source

pub const fn bus_config1(&self) -> &BusConfig1

0x200 - Bus operation config 1

Source

pub const fn bus_config2(&self) -> &BusConfig2

0x204 - Bus operation config 2

Source

pub const fn bus_dma_ctrl(&self) -> &BusDmaCtrl

0x240 - DMA operation control register

Source

pub const fn bus_dma_mem_saddr(&self) -> &BusDmaMemSaddr

0x244 - DMA memory start address

Source

pub const fn bus_dma_flash_saddr(&self) -> &BusDmaFlashSaddr

0x248 - DMA Flash start address

Source

pub const fn bus_dma_len(&self) -> &BusDmaLen

0x24c - DMA transfer length

Source

pub const fn bus_dma_ahb_ctrl(&self) -> &BusDmaAhbCtrl

0x250 - DMA AHB burst control

Source

pub const fn cmd_config(&self) -> &CmdConfig

0x300 - Command operation config

Source

pub const fn cmd_ins(&self) -> &CmdIns

0x308 - Command instruction register

Source

pub const fn cmd_addr(&self) -> &CmdAddr

0x30c - Command address register

Source

pub const fn cmd_databuf_0(&self) -> &CmdDatabuf0

0x400 - Command data buffer 0

Source

pub const fn cmd_databuf_1(&self) -> &CmdDatabuf1

0x404 - Command data buffer 1

Source

pub const fn cmd_databuf_2(&self) -> &CmdDatabuf2

0x408 - Command data buffer 2

Source

pub const fn cmd_databuf_3(&self) -> &CmdDatabuf3

0x40c - Command data buffer 3

Source

pub const fn cmd_databuf_4(&self) -> &CmdDatabuf4

0x410 - Command data buffer 4

Source

pub const fn cmd_databuf_5(&self) -> &CmdDatabuf5

0x414 - Command data buffer 5

Source

pub const fn cmd_databuf_6(&self) -> &CmdDatabuf6

0x418 - Command data buffer 6

Source

pub const fn cmd_databuf_7(&self) -> &CmdDatabuf7

0x41c - Command data buffer 7

Source

pub const fn cmd_databuf_8(&self) -> &CmdDatabuf8

0x420 - Command data buffer 8

Source

pub const fn cmd_databuf_9(&self) -> &CmdDatabuf9

0x424 - Command data buffer 9

Source

pub const fn cmd_databuf_10(&self) -> &CmdDatabuf10

0x428 - Command data buffer 10

Source

pub const fn cmd_databuf_11(&self) -> &CmdDatabuf11

0x42c - Command data buffer 11

Source

pub const fn cmd_databuf_12(&self) -> &CmdDatabuf12

0x430 - Command data buffer 12

Source

pub const fn cmd_databuf_13(&self) -> &CmdDatabuf13

0x434 - Command data buffer 13

Source

pub const fn cmd_databuf_14(&self) -> &CmdDatabuf14

0x438 - Command data buffer 14

Source

pub const fn cmd_databuf_15(&self) -> &CmdDatabuf15

0x43c - Command data buffer 15

Source

pub const fn lea_lp_en(&self) -> &LeaLpEn

0x1300 - LEA control register

Source

pub const fn lea_dfx_info(&self) -> &LeaDfxInfo

0x1304 - LEA DFX register

Source

pub const fn lea_iv_vld(&self) -> &LeaIvVld

0x1600 - LEA IV valid 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.