XMC Peripheral Library for XMC4000 Family: XMC_SCU_CLOCK_CONFIG_t Struct Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
XMC_SCU_CLOCK_CONFIG_t Struct Reference

#include <xmc4_scu.h>

Data Fields

XMC_SCU_CLOCK_FOFI_CALIBRATION_MODE_t calibration_mode
 
bool enable_oschp
 
bool enable_osculp
 
uint8_t fccu_clkdiv
 
uint8_t fcpu_clkdiv
 
uint8_t fperipheral_clkdiv
 
XMC_SCU_HIB_STDBYCLKSRC_t fstdby_clksrc
 
uint8_t fsys_clkdiv
 
XMC_SCU_CLOCK_SYSCLKSRC_t fsys_clksrc
 
XMC_SCU_CLOCK_SYSPLL_CONFIG_t syspll_config
 

Detailed Description

Defines a data structure used for initializing the clock functional block. Clock functional block configures clock source needed for various peripheral and its divider values. Use type XMC_SCU_CLOCK_CONFIG_t for accessing these structure parameters.

Field Documentation

Backup clock trimming mode.

bool enable_oschp

Enable external high precision oscillator. Should be enabled when fOHP has to be source of system clock.

bool enable_osculp

Enable external ultra low power oscillator. Should be enabled when fULP has to be source of standby clock(fSTDBY).

uint8_t fccu_clkdiv

Ratio of fSys to fCCU.

uint8_t fcpu_clkdiv

Ratio of fSys to fCPU.

uint8_t fperipheral_clkdiv

Ratio of fSYS to fPERI.

Standby clock source.

uint8_t fsys_clkdiv

Ratio of fPLL to fSYS.

Choice of system clock.

PLL configuration


The documentation for this struct was generated from the following file:
Generated on Mon Aug 7 2017 11:33:58 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11