Struct stm32f7xx_hal::pac::ltdc::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 15 fields
pub sscr: Reg<SSCR_SPEC>,
pub bpcr: Reg<BPCR_SPEC>,
pub awcr: Reg<AWCR_SPEC>,
pub twcr: Reg<TWCR_SPEC>,
pub gcr: Reg<GCR_SPEC>,
pub srcr: Reg<SRCR_SPEC>,
pub bccr: Reg<BCCR_SPEC>,
pub ier: Reg<IER_SPEC>,
pub isr: Reg<ISR_SPEC>,
pub icr: Reg<ICR_SPEC>,
pub lipcr: Reg<LIPCR_SPEC>,
pub cpsr: Reg<CPSR_SPEC>,
pub cdsr: Reg<CDSR_SPEC>,
pub layer1: LAYER,
pub layer2: LAYER,
/* private fields */
}
Expand description
Register block
Fields
sscr: Reg<SSCR_SPEC>
0x08 - Synchronization Size Configuration Register
bpcr: Reg<BPCR_SPEC>
0x0c - Back Porch Configuration Register
awcr: Reg<AWCR_SPEC>
0x10 - Active Width Configuration Register
twcr: Reg<TWCR_SPEC>
0x14 - Total Width Configuration Register
gcr: Reg<GCR_SPEC>
0x18 - Global Control Register
srcr: Reg<SRCR_SPEC>
0x24 - Shadow Reload Configuration Register
bccr: Reg<BCCR_SPEC>
0x2c - Background Color Configuration Register
ier: Reg<IER_SPEC>
0x34 - Interrupt Enable Register
isr: Reg<ISR_SPEC>
0x38 - Interrupt Status Register
icr: Reg<ICR_SPEC>
0x3c - Interrupt Clear Register
lipcr: Reg<LIPCR_SPEC>
0x40 - Line Interrupt Position Configuration Register
cpsr: Reg<CPSR_SPEC>
0x44 - Current Position Status Register
cdsr: Reg<CDSR_SPEC>
0x48 - Current Display Status Register
layer1: LAYER
0x84..0xc8 - Cluster LAYER%s, containing L?CR, L?WHPCR, L?WVPCR, L?CKCR, L?PFCR, L?CACR, L?DCCR, L?BFCR, L?CFBAR, L?CFBLR, L?CFBLNR, L?CLUTWR
layer2: LAYER
0x104..0x148 - Cluster LAYER%s, containing L?CR, L?WHPCR, L?WVPCR, L?CKCR, L?PFCR, L?CACR, L?DCCR, L?BFCR, L?CFBAR, L?CFBLR, L?CFBLNR, L?CLUTWR
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more