Struct stm32_metapac::rcc::regs::Apb1henr
#[repr(transparent)]pub struct Apb1henr(pub u32);
Expand description
RCC APB1 Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl Apb1henr
impl Apb1henr
pub fn set_opampen(&mut self, val: bool)
pub fn set_opampen(&mut self, val: bool)
OPAMP peripheral clock enable
pub fn set_mdiosen(&mut self, val: bool)
pub fn set_mdiosen(&mut self, val: bool)
MDIOS peripheral clock enable
pub fn set_fdcanen(&mut self, val: bool)
pub fn set_fdcanen(&mut self, val: bool)
FDCAN Peripheral Clocks Enable
pub fn set_tim23en(&mut self, val: bool)
pub fn set_tim23en(&mut self, val: bool)
TIM23 block enable
pub fn set_tim24en(&mut self, val: bool)
pub fn set_tim24en(&mut self, val: bool)
TIM24 block enable
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