Struct LAYER

Source
#[repr(C)]
pub struct LAYER { pub cr: Reg<CR_SPEC>, pub whpcr: Reg<WHPCR_SPEC>, pub wvpcr: Reg<WVPCR_SPEC>, pub ckcr: Reg<CKCR_SPEC>, pub pfcr: Reg<PFCR_SPEC>, pub cacr: Reg<CACR_SPEC>, pub dccr: Reg<DCCR_SPEC>, pub bfcr: Reg<BFCR_SPEC>, pub cfbar: Reg<CFBAR_SPEC>, pub cfblr: Reg<CFBLR_SPEC>, pub cfblnr: Reg<CFBLNR_SPEC>, pub clutwr: Reg<CLUTWR_SPEC>, /* private fields */ }
Expand description

Register block

Fields§

§cr: Reg<CR_SPEC>

0x00 - Layerx Control Register

§whpcr: Reg<WHPCR_SPEC>

0x04 - Layerx Window Horizontal Position Configuration Register

§wvpcr: Reg<WVPCR_SPEC>

0x08 - Layerx Window Vertical Position Configuration Register

§ckcr: Reg<CKCR_SPEC>

0x0c - Layerx Color Keying Configuration Register

§pfcr: Reg<PFCR_SPEC>

0x10 - Layerx Pixel Format Configuration Register

§cacr: Reg<CACR_SPEC>

0x14 - Layerx Constant Alpha Configuration Register

§dccr: Reg<DCCR_SPEC>

0x18 - Layerx Default Color Configuration Register

§bfcr: Reg<BFCR_SPEC>

0x1c - Layerx Blending Factors Configuration Register

§cfbar: Reg<CFBAR_SPEC>

0x28 - Layerx Color Frame Buffer Address Register

§cfblr: Reg<CFBLR_SPEC>

0x2c - Layerx Color Frame Buffer Length Register

§cfblnr: Reg<CFBLNR_SPEC>

0x30 - Layerx ColorFrame Buffer Line Number Register

§clutwr: Reg<CLUTWR_SPEC>

0x40 - Layerx CLUT Write Register

Auto Trait Implementations§

§

impl !Freeze for LAYER

§

impl !RefUnwindSafe for LAYER

§

impl Send for LAYER

§

impl !Sync for LAYER

§

impl Unpin for LAYER

§

impl UnwindSafe for LAYER

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.