Struct stm32_metapac::rcc::regs::Apb1henr
#[repr(transparent)]pub struct Apb1henr(pub u32);
Expand description
RCC APB1 peripheral clock register
Tuple Fields§
§0: u32
Implementations§
§impl Apb1henr
impl Apb1henr
pub fn set_lptim2en(&mut self, val: bool)
pub fn set_lptim2en(&mut self, val: bool)
LPTIM2 clock enable Set and reset by software.
pub fn set_fdcan12en(&mut self, val: bool)
pub fn set_fdcan12en(&mut self, val: bool)
FDCAN1 peripheral clock enable Set and reset by software.
Trait Implementations§
impl Copy for Apb1henr
impl Eq for Apb1henr
impl StructuralEq for Apb1henr
impl StructuralPartialEq for Apb1henr
Auto Trait Implementations§
impl RefUnwindSafe for Apb1henr
impl Send for Apb1henr
impl Sync for Apb1henr
impl Unpin for Apb1henr
impl UnwindSafe for Apb1henr
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