Struct 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 StructuralPartialEq for Apb1henr
Auto Trait Implementations§
impl Freeze for Apb1henr
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
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
)