Struct stm32_metapac::rcc::regs::Apb5enr
#[repr(transparent)]pub struct Apb5enr(pub u32);
Expand description
RCC APB5 clock enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Apb5enr
impl Apb5enr
pub const fn ltdcen(&self) -> bool
pub const fn ltdcen(&self) -> bool
LTDC peripheral clock enable Provides the pixel clock (ltdc_clk) to the LTDC block. Set and reset by software.
pub fn set_ltdcen(&mut self, val: bool)
pub fn set_ltdcen(&mut self, val: bool)
LTDC peripheral clock enable Provides the pixel clock (ltdc_clk) to the LTDC block. Set and reset by software.
pub fn set_dcmippen(&mut self, val: bool)
pub fn set_dcmippen(&mut self, val: bool)
DCMIPP peripheral clock enable Set and reset by software.
pub fn set_gfxtimen(&mut self, val: bool)
pub fn set_gfxtimen(&mut self, val: bool)
GFXTIM peripheral clock enable Set and reset by software.
Trait Implementations§
impl Copy for Apb5enr
impl Eq for Apb5enr
impl StructuralPartialEq for Apb5enr
Auto Trait Implementations§
impl Freeze for Apb5enr
impl RefUnwindSafe for Apb5enr
impl Send for Apb5enr
impl Sync for Apb5enr
impl Unpin for Apb5enr
impl UnwindSafe for Apb5enr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)