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_SYSCLK_PSADIV   SYSCLK_PSADIV_1
 
#define CONFIG_SYSCLK_PSBCDIV   SYSCLK_PSBCDIV_1_1
 
#define CONFIG_SYSCLK_SOURCE   SYSCLK_SRC_RC32MHZ
 
#define CONFIG_USBCLK_SOURCE   USBCLK_SRC_RCOSC
 The following clock configuration can be used for USB operation It allows to operate USB 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 = 24MHz. More...
 

#define CONFIG_SYSCLK_PSADIV   SYSCLK_PSADIV_1

Referenced by sysclk_get_per4_hz(), and sysclk_init().

#define CONFIG_SYSCLK_PSBCDIV   SYSCLK_PSBCDIV_1_1
#define CONFIG_SYSCLK_SOURCE   SYSCLK_SRC_RC32MHZ

Referenced by sysclk_get_main_hz(), and sysclk_init().

#define CONFIG_USBCLK_SOURCE   USBCLK_SRC_RCOSC

The following clock configuration can be used for USB operation It allows to operate USB 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 = 24MHz.