Microchip® Advanced Software Framework

sysclk.c File Reference

Chip-specific system clock management functions.

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

#include <sysclk.h>

Functions

void sysclk_disable_usb (void)
 Disable the USB clock. More...
 
void sysclk_enable_usb (void)
 Enable USB clock. More...
 
System Clock Source and Prescaler configuration
void sysclk_set_prescalers (uint32_t ul_pres)
 Set system clock prescaler configuration. More...
 
void sysclk_set_source (uint32_t ul_src)
 Change the source of the main system clock. More...
 
System Clock Initialization
void sysclk_init (void)
 Initialize the synchronous clock system. More...