SAM L10/L11 Generic Clock Controller (GLCK)

Generic Clock Controller (GCLK)

Overview

Depending on the application, peripherals may require specific clock frequencies to operate correctly. The Generic Clock Controller (GCLK) features five Generic Clock Generators (0…4) that can provide a wide range of clock frequencies. Generators can be set to use different external and internal oscillators as a source. The clock output frequency of each generator can be divided. The outputs from the generators are used as sources for the Peripheral Channels, which provide the Generic Clock (GCLK_PERIPH) to the peripheral modules. The number of Peripheral Clock Channels is dependent on the number of peripherals in the device.

Block Diagram

saml10-generic-clock-controller.png

Clock Generator 0 is always the direct source of the GCLK_MAIN clock signal, which is fed to the CPU and synchronous bus via the Main Clock Controller.

Refer to the "GCLK - Generic Clock Controller" chapter from the product data sheet for more details.

Code Example

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.