Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 18 fields pub mlb_mlbc0: Reg<MLB_MLBC0_SPEC>, pub mlb_ms0: Reg<MLB_MS0_SPEC>, pub mlb_ms1: Reg<MLB_MS1_SPEC>, pub mlb_mss: Reg<MLB_MSS_SPEC>, pub mlb_msd: Reg<MLB_MSD_SPEC>, pub mlb_mien: Reg<MLB_MIEN_SPEC>, pub mlb_mlbc1: Reg<MLB_MLBC1_SPEC>, pub mlb_hctl: Reg<MLB_HCTL_SPEC>, pub mlb_hcmr: [Reg<MLB_HCMR_SPEC>; 2], pub mlb_hcer: [Reg<MLB_HCER_SPEC>; 2], pub mlb_hcbr: [Reg<MLB_HCBR_SPEC>; 2], pub mlb_mdat: [Reg<MLB_MDAT_SPEC>; 4], pub mlb_mdwe: [Reg<MLB_MDWE_SPEC>; 4], pub mlb_mctl: Reg<MLB_MCTL_SPEC>, pub mlb_madr: Reg<MLB_MADR_SPEC>, pub mlb_actl: Reg<MLB_ACTL_SPEC>, pub mlb_acsr: [Reg<MLB_ACSR_SPEC>; 2], pub mlb_acmr: [Reg<MLB_ACMR_SPEC>; 2], /* private fields */
}
Expand description

Register block

Fields§

§mlb_mlbc0: Reg<MLB_MLBC0_SPEC>

0x00 - MediaLB Control 0 Register

§mlb_ms0: Reg<MLB_MS0_SPEC>

0x0c - MediaLB Channel Status 0 Register

§mlb_ms1: Reg<MLB_MS1_SPEC>

0x14 - MediaLB Channel Status1 Register

§mlb_mss: Reg<MLB_MSS_SPEC>

0x20 - MediaLB System Status Register

§mlb_msd: Reg<MLB_MSD_SPEC>

0x24 - MediaLB System Data Register

§mlb_mien: Reg<MLB_MIEN_SPEC>

0x2c - MediaLB Interrupt Enable Register

§mlb_mlbc1: Reg<MLB_MLBC1_SPEC>

0x3c - MediaLB Control 1 Register

§mlb_hctl: Reg<MLB_HCTL_SPEC>

0x80 - HBI Control Register

§mlb_hcmr: [Reg<MLB_HCMR_SPEC>; 2]

0x88..0x90 - HBI Channel Mask 0 Register 0

§mlb_hcer: [Reg<MLB_HCER_SPEC>; 2]

0x90..0x98 - HBI Channel Error 0 Register 0

§mlb_hcbr: [Reg<MLB_HCBR_SPEC>; 2]

0x98..0xa0 - HBI Channel Busy 0 Register 0

§mlb_mdat: [Reg<MLB_MDAT_SPEC>; 4]

0xc0..0xd0 - MIF Data 0 Register 0

§mlb_mdwe: [Reg<MLB_MDWE_SPEC>; 4]

0xd0..0xe0 - MIF Data Write Enable 0 Register 0

§mlb_mctl: Reg<MLB_MCTL_SPEC>

0xe0 - MIF Control Register

§mlb_madr: Reg<MLB_MADR_SPEC>

0xe4 - MIF Address Register

§mlb_actl: Reg<MLB_ACTL_SPEC>

0x3c0 - AHB Control Register

§mlb_acsr: [Reg<MLB_ACSR_SPEC>; 2]

0x3d0..0x3d8 - AHB Channel Status 0 Register 0

§mlb_acmr: [Reg<MLB_ACMR_SPEC>; 2]

0x3d8..0x3e0 - AHB Channel Mask 0 Register 0

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.