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_uart9en(&mut self, val: bool)
pub fn set_uart9en(&mut self, val: bool)
UART9 clock enable Set and reset by software.
pub fn set_uart12en(&mut self, val: bool)
pub fn set_uart12en(&mut self, val: bool)
UART12 clock enable Set and reset by software.
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 const fn fdcan12en(&self) -> bool
pub const fn fdcan12en(&self) -> bool
FDCAN1 and FDCAN2 peripheral clock enable Set and reset by software.
pub fn set_fdcan12en(&mut self, val: bool)
pub fn set_fdcan12en(&mut self, val: bool)
FDCAN1 and FDCAN2 peripheral clock enable Set and reset by software.
pub fn set_ucpden(&mut self, val: bool)
pub fn set_ucpden(&mut self, val: bool)
UCPD clock enable Set and reset by software.
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
)