1.15.5 Clock Generator (CLOCK)

The PIC32MX 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 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

  • Flexible Reference Clock Output

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