1.22.4 Clock Generator (CLOCK)
The PIC32MZ EF clock system has the following modules and features:
-
A total of five external and internal oscillator options as clock sources
-
On-Chip PLL with user-selectable input divider, multiplier and output divider to boost operating frequency on select internal and external oscillator sources
-
On-Chip user-selectable divisor postscaler on select oscillator sources
-
Software-controllable switching between various clock sources
-
A Fail-Safe Clock Monitor (FSCM) that detects clock failure and permits safe application recovery or shutdown with dedicated Back-up FRC (BFRC)
-
Dedicated On-Chip PLL for USB peripheral
-
Flexible reference clock output
-
Multiple clock branches for peripherals for better performance flexibility
-
Clock switch/slew control with output divider
Using The Library
The Clock peripheral library initializes the clock system as configured by the user in the MHC easy view.
Library Interface
Clock Generator peripheral library provides the following interfaces:
Functions
Name | Description |
---|---|
CLK_Initialize | Initializes hardware of the System Clock and Peripheral Clock |