#[repr(C)]pub struct RCC_PeriphCLKInitTypeDef {
pub PeriphClockSelection: u32,
pub PvdClockSelection: u32,
pub Comp1ClockSelection: u32,
pub Comp2ClockSelection: u32,
pub LptimClockSelection: u32,
pub RTCClockSelection: u32,
}Expand description
@brief RCC extended clocks structure definition
Fields§
§PeriphClockSelection: u32< The Extended Clock to be configured. This parameter can be a value of @ref RCCEx_Periph_Clock_Selection
PvdClockSelection: u32< Specifies PVD clock source. This parameter can be a value of @ref RCCEx_PVD_Clock_Source
Comp1ClockSelection: u32< Specifies COMP1 clock source. This parameter can be a value of @ref RCCEx_COMP1_Clock_Source
Comp2ClockSelection: u32< Specifies COMP2 clock source. This parameter can be a value of @ref RCCEx_COMP2_Clock_Source
LptimClockSelection: u32< Specifies LPTIM1 clock source This parameter can be a value of @ref RCCEx_LPTIM1_Clock_Source
RTCClockSelection: u32< Specifies RTC clock source. This parameter can be a value of @ref RCC_RTC_Clock_Source
Trait Implementations§
Source§impl Clone for RCC_PeriphCLKInitTypeDef
impl Clone for RCC_PeriphCLKInitTypeDef
Source§fn clone(&self) -> RCC_PeriphCLKInitTypeDef
fn clone(&self) -> RCC_PeriphCLKInitTypeDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RCC_PeriphCLKInitTypeDef
Auto Trait Implementations§
impl Freeze for RCC_PeriphCLKInitTypeDef
impl RefUnwindSafe for RCC_PeriphCLKInitTypeDef
impl Send for RCC_PeriphCLKInitTypeDef
impl Sync for RCC_PeriphCLKInitTypeDef
impl Unpin for RCC_PeriphCLKInitTypeDef
impl UnsafeUnpin for RCC_PeriphCLKInitTypeDef
impl UnwindSafe for RCC_PeriphCLKInitTypeDef
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