5.2.2 CLKCTRL with Auto-Tuning

Clock Controller with Auto-Tuning for improved Internal Oscillator Accuracy

5.2.2.1 Introduction

The CLKCTRL controls, distributes, and prescales the clock signals from the available oscillators. The CLKCTRL supports internal and external clock sources. This CLKCTRL module has an auto-tune feature that can be used to improve the accuracy of the internal oscillator.

5.2.2.2 Supported Device Families

AVR® DA

5.2.2.3 Required header files:

#include "mcc_generated_files/system/clock.h"

5.2.2.4 Module Documentation

5.2.2.4.1 CLKCTRL

This file contains the API prototype for the CLKCTRL driver.

Module description

This file contains the API prototype for the CLKCTRL driver.

Version: CLKCTRL Driver Version 1.0.0

Function Documentation

CLOCK_Initialize()

void CLOCK_Initialize (void )

Initializes the Clock controller.

Parameters:
None.
Returns:

None.

5.2.2.5 File Documentation

5.2.2.5.1 source/clock.c File Reference

#include "../clock.h"

5.2.2.5.2 source/clock.h File Reference

#include "ccp.h"

Macros

Macro Definition Documentation

F_CPU

#define F_CPU 4000000