Struct Apb0enr
#[repr(transparent)]pub struct Apb0enr(pub u32);Expand description
APB0ENR register.
Tuple Fields§
§0: u32Implementations§
§impl Apb0enr
impl Apb0enr
pub fn set_tim1en(&mut self, val: bool)
pub fn set_tim1en(&mut self, val: bool)
TIM1 enable.
pub fn set_tim2en(&mut self, val: bool)
pub fn set_tim2en(&mut self, val: bool)
TIM2: Advanced Timer clock enable Set and enable by software.
pub fn set_tim16en(&mut self, val: bool)
pub fn set_tim16en(&mut self, val: bool)
TIM16 enable.
pub fn set_tim17en(&mut self, val: bool)
pub fn set_tim17en(&mut self, val: bool)
TIM17 enable.
pub fn set_syscfgen(&mut self, val: bool)
pub fn set_syscfgen(&mut self, val: bool)
SYSTEM CONFIG enable Set and enable by software.
pub const fn rtcen(&self) -> bool
pub const fn rtcen(&self) -> bool
RTC clock enable Set and enable by software. Reset source only for this field: PORESETn.
Trait Implementations§
impl Copy for Apb0enr
impl Eq for Apb0enr
impl StructuralPartialEq for Apb0enr
Auto Trait Implementations§
impl Freeze for Apb0enr
impl RefUnwindSafe for Apb0enr
impl Send for Apb0enr
impl Sync for Apb0enr
impl Unpin for Apb0enr
impl UnwindSafe for Apb0enr
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