Struct stm32_metapac::rcc::regs::C1Apb1henr
#[repr(transparent)]pub struct C1Apb1henr(pub u32);
Expand description
RCC APB1 Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl C1Apb1henr
impl C1Apb1henr
pub fn set_swpmien(&mut self, val: bool)
pub fn set_swpmien(&mut self, val: bool)
SWPMI Peripheral Clocks Enable
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
Trait Implementations§
§impl Clone for C1Apb1henr
impl Clone for C1Apb1henr
§fn clone(&self) -> C1Apb1henr
fn clone(&self) -> C1Apb1henr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for C1Apb1henr
impl Default for C1Apb1henr
§fn default() -> C1Apb1henr
fn default() -> C1Apb1henr
Returns the “default value” for a type. Read more
§impl PartialEq for C1Apb1henr
impl PartialEq for C1Apb1henr
impl Copy for C1Apb1henr
impl Eq for C1Apb1henr
impl StructuralPartialEq for C1Apb1henr
Auto Trait Implementations§
impl Freeze for C1Apb1henr
impl RefUnwindSafe for C1Apb1henr
impl Send for C1Apb1henr
impl Sync for C1Apb1henr
impl Unpin for C1Apb1henr
impl UnwindSafe for C1Apb1henr
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
)