Microchip® Advanced Software Framework

sysclk.c File Reference

Chip-specific system clock management functions.

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

#include <compiler.h>
#include <sysclk.h>
#include <osc.h>
#include <pll.h>

Functions

void sysclk_disable_module (enum sysclk_port_id port, uint8_t id)
 Disable the clock to peripheral id on port port. More...
 
void sysclk_disable_usb (void)
 Disable clock for the USB module. More...
 
void sysclk_enable_module (enum sysclk_port_id port, uint8_t id)
 Enable the clock to peripheral id on port port. More...
 
void sysclk_enable_usb (uint8_t frequency)
 Enable clock for the USB module. More...
 
System Clock Initialization
void sysclk_init (void)
 Initialize the synchronous clock system. More...