#[repr(C)]pub struct RCC_ClkInitTypeDef {
pub ClockType: u32,
pub SYSCLKSource: u32,
pub AHBCLKDivider: u32,
pub APB1CLKDivider: u32,
}Expand description
@brief RCC System, AHB and APB busses clock configuration structure definition
Fields§
§ClockType: u32< The clock to be configured. This parameter can be a combination of @ref RCC_System_Clock_Type
SYSCLKSource: u32< The clock source used as system clock (SYSCLK). This parameter can be a value of @ref RCC_System_Clock_Source
AHBCLKDivider: u32< The AHB clock (HCLK) divider. This clock is derived from the system clock (SYSCLK). This parameter can be a value of @ref RCC_AHB_Clock_Source
APB1CLKDivider: u32< The APB1 clock (PCLK1) divider. This clock is derived from the AHB clock (HCLK). This parameter can be a value of @ref RCC_APB1_Clock_Source
Trait Implementations§
Source§impl Clone for RCC_ClkInitTypeDef
impl Clone for RCC_ClkInitTypeDef
Source§fn clone(&self) -> RCC_ClkInitTypeDef
fn clone(&self) -> RCC_ClkInitTypeDef
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_ClkInitTypeDef
Auto Trait Implementations§
impl Freeze for RCC_ClkInitTypeDef
impl RefUnwindSafe for RCC_ClkInitTypeDef
impl Send for RCC_ClkInitTypeDef
impl Sync for RCC_ClkInitTypeDef
impl Unpin for RCC_ClkInitTypeDef
impl UnsafeUnpin for RCC_ClkInitTypeDef
impl UnwindSafe for RCC_ClkInitTypeDef
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