Atmel Software Framework

power_clocks_lib.c File Reference
#include "power_clocks_lib.h"

Functions

long int pcl_configure_clocks (pcl_freq_param_t *param)
 Device-specific data. More...
 
long int pcl_configure_clocks_dfll0 (pcl_freq_param_t *param)
 Automatically configure the CPU, PBA, PBB, and HSB clocks using the DFLL0 as main source clock. More...
 
long int pcl_configure_clocks_osc0 (pcl_freq_param_t *param)
 Automatically configure the CPU, PBA, PBB, and HSB clocks using the OSC0 osc as main source clock. More...
 
long int pcl_configure_clocks_rc120m (pcl_freq_param_t *param)
 Automatically configure the CPU, PBA, PBB, and HSB clocks using the RC120M osc as main source clock. More...
 
long int pcl_configure_clocks_rcsys (pcl_freq_param_t *param)
 Automatically configure the CPU, PBA, PBB, and HSB clocks using the RCSYS osc as main source clock. More...
 
static long int pcl_configure_clocks_uc3l (pcl_freq_param_t *param)
 
static long int pcl_configure_synchronous_clocks (pm_clk_src_t main_clk_src, unsigned long main_clock_freq_hz, pcl_freq_param_t *param)
 Device-specific implementation. More...
 
long int pcl_configure_usb_clock (void)
 Configure the USB Clock. More...
 
long int pcl_switch_to_osc (pcl_osc_t osc, unsigned int fcrystal, unsigned int startup)
 UC3C Device-specific implementation. More...
 

static long int pcl_configure_synchronous_clocks ( pm_clk_src_t  main_clk_src,
unsigned long  main_clock_freq_hz,
pcl_freq_param_t param 
)
static