Struct stm32_metapac::rcc::regs::C2apb2enr
#[repr(transparent)]pub struct C2apb2enr(pub u32);
Expand description
CPU2 APB2 peripheral clock enable register [dual core device only]
Tuple Fields§
§0: u32
Implementations§
§impl C2apb2enr
impl C2apb2enr
pub fn set_tim1en(&mut self, val: bool)
pub fn set_tim1en(&mut self, val: bool)
CPU2 TIM1 timer clock enable
pub fn set_spi1en(&mut self, val: bool)
pub fn set_spi1en(&mut self, val: bool)
CPU2 SPI1 clock enable
pub fn set_usart1en(&mut self, val: bool)
pub fn set_usart1en(&mut self, val: bool)
CPU2 USART1clocks enable
pub fn set_tim16en(&mut self, val: bool)
pub fn set_tim16en(&mut self, val: bool)
CPU2 TIM16 timer clock enable
pub fn set_tim17en(&mut self, val: bool)
pub fn set_tim17en(&mut self, val: bool)
CPU2 TIM17 timer clock enable
Trait Implementations§
impl Copy for C2apb2enr
impl Eq for C2apb2enr
impl StructuralPartialEq for C2apb2enr
Auto Trait Implementations§
impl Freeze for C2apb2enr
impl RefUnwindSafe for C2apb2enr
impl Send for C2apb2enr
impl Sync for C2apb2enr
impl Unpin for C2apb2enr
impl UnwindSafe for C2apb2enr
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
)