#[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 !RefUnwindSafe for LAYER
impl Send for LAYER
impl !Sync for LAYER
impl Unpin for LAYER
impl UnwindSafe for LAYER
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more