#[repr(C)]pub struct RCC_OscInitTypeDef {
pub OscillatorType: u32,
pub HSEState: u32,
pub HSEFreq: u32,
pub LSEState: u32,
pub LSEDriver: u32,
pub HSIState: u32,
pub HSIDiv: u32,
pub HSICalibrationValue: u32,
pub LSIState: u32,
pub PLL: RCC_PLLInitTypeDef,
}Expand description
@brief RCC Internal/External Oscillator (HSE, HSI, LSE and LSI) configuration structure definition
Fields§
§OscillatorType: u32< The oscillators to be configured. This parameter can be a value of @ref RCC_Oscillator_Type
HSEState: u32< The new state of the HSE. This parameter can be a value of @ref RCC_HSE_Config
HSEFreq: u32< The frequency range of the HSE. This parameter can be a value of @ref RCC_HSE_Freq
LSEState: u32< The new state of the LSE. This parameter can be a value of @ref RCC_LSE_Config
LSEDriver: u32< The driver factor of the LSE. This parameter can be a value of @ref RCC_LSE_Driver
HSIState: u32< The new state of the HSI. This parameter can be a value of @ref RCC_HSI_Config
HSIDiv: u32< The division factor of the HSI. This parameter can be a value of @ref RCC_HSI_Div
HSICalibrationValue: u32< The calibration trimming value (default is RCC_HSICALIBRATION_8MHz). This parameter can be a value of @ref RCC_HSI_Calibration
LSIState: u32< The new state of the LSI. This parameter can be a value of @ref RCC_LSI_Config
PLL: RCC_PLLInitTypeDef< Main PLL structure parameters
Trait Implementations§
Source§impl Clone for RCC_OscInitTypeDef
impl Clone for RCC_OscInitTypeDef
Source§fn clone(&self) -> RCC_OscInitTypeDef
fn clone(&self) -> RCC_OscInitTypeDef
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more