Struct Ahb4enr
#[repr(transparent)]pub struct Ahb4enr(pub u32);Expand description
RCC AHB4 clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb4enr
impl Ahb4enr
pub const fn set_gpioaen(&mut self, val: bool)
pub const fn set_gpioaen(&mut self, val: bool)
GPIOA peripheral clock enable.
pub const fn set_gpioben(&mut self, val: bool)
pub const fn set_gpioben(&mut self, val: bool)
GPIOB peripheral clock enable.
pub const fn set_gpiocen(&mut self, val: bool)
pub const fn set_gpiocen(&mut self, val: bool)
GPIOC peripheral clock enable.
pub const fn set_gpioden(&mut self, val: bool)
pub const fn set_gpioden(&mut self, val: bool)
GPIOD peripheral clock enable.
pub const fn set_gpioeen(&mut self, val: bool)
pub const fn set_gpioeen(&mut self, val: bool)
GPIOE peripheral clock enable.
pub const fn set_gpiofen(&mut self, val: bool)
pub const fn set_gpiofen(&mut self, val: bool)
GPIOF peripheral clock enable.
pub const fn set_gpiogen(&mut self, val: bool)
pub const fn set_gpiogen(&mut self, val: bool)
GPIOG peripheral clock enable.
pub const fn set_gpiohen(&mut self, val: bool)
pub const fn set_gpiohen(&mut self, val: bool)
GPIOH peripheral clock enable.
pub const fn set_gpioien(&mut self, val: bool)
pub const fn set_gpioien(&mut self, val: bool)
GPIOI peripheral clock enable.
pub const fn set_bkpramen(&mut self, val: bool)
pub const fn set_bkpramen(&mut self, val: bool)
Backup RAM clock enable.
Trait Implementations§
impl Copy for Ahb4enr
impl Eq for Ahb4enr
impl StructuralPartialEq for Ahb4enr
Auto Trait Implementations§
impl Freeze for Ahb4enr
impl RefUnwindSafe for Ahb4enr
impl Send for Ahb4enr
impl Sync for Ahb4enr
impl Unpin for Ahb4enr
impl UnsafeUnpin for Ahb4enr
impl UnwindSafe for Ahb4enr
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