Microchip® Advanced Software Framework

conf_clock.h File Reference

Chip-specific system clock manager configuration.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define CONFIG_OSC_AUTOCAL_RC32MHZ_REF_OSC   OSC_ID_USBSOF
 
#define CONFIG_OSC_RC32_CAL   48000000UL
 
#define CONFIG_SYSCLK_PSADIV   SYSCLK_PSADIV_2
 
#define CONFIG_SYSCLK_PSBCDIV   SYSCLK_PSBCDIV_1_2
 
#define CONFIG_SYSCLK_SOURCE   SYSCLK_SRC_RC32MHZ
 
#define CONFIG_USBCLK_SOURCE   USBCLK_SRC_RCOSC
 Configuration using On-Chip RC oscillator at 48MHz The RC oscillator is calibrated via USB Start Of Frame Clk USB = 48MHz (used by USB) Clk sys = 48MHz Clk cpu/per = 12MHz. More...
 

#define CONFIG_OSC_AUTOCAL_RC32MHZ_REF_OSC   OSC_ID_USBSOF

Referenced by pll_enable_source(), and sysclk_init().

#define CONFIG_OSC_RC32_CAL   48000000UL
#define CONFIG_SYSCLK_PSADIV   SYSCLK_PSADIV_2

Referenced by sysclk_get_per4_hz(), and sysclk_init().

#define CONFIG_SYSCLK_PSBCDIV   SYSCLK_PSBCDIV_1_2
#define CONFIG_SYSCLK_SOURCE   SYSCLK_SRC_RC32MHZ

Referenced by sysclk_get_main_hz(), and sysclk_init().

#define CONFIG_USBCLK_SOURCE   USBCLK_SRC_RCOSC

Configuration using On-Chip RC oscillator at 48MHz The RC oscillator is calibrated via USB Start Of Frame Clk USB = 48MHz (used by USB) Clk sys = 48MHz Clk cpu/per = 12MHz.