clock  1.4
Clock functions for Xmega
clock Documentation

Introduction

This documents the clock function for the Xmega.

Several clock functions are available:

init_clock() Initializes clock with Config32MHzClock_Ext16M()
Config32MHzClock() Enables clock with 32 MHz internal RC oscillator
Config32MHzClock_Ext16M()Enables 32 MHz clock with an external 16 MHz crystal
Config16MHzClock_Ext16M()Enables 16 MHz clock with an external 16 MHz crystal
AutoCalibration32M() Autocalibrates 32 MHz internal RC oscillator
AutoCalibration2M() Autocalibrates 2 MHz internal RC oscillator
AutoCalibrationTosc32M() Calibrates 32 MHz internal clock with external 32 kHz crystal
AutoCalibrationTosc2M() Calibrates 2 MHz internal clock with external 32 kHz crystal

Usage

To use streams for USART0 port F:

Contact

Author
Wim Dolman (w.e.dolman@hva.nl)
Version
1.4
Latest version can be found here: http://dolman-wim.nl/xmega/libraries/index.php
Date
10-07-2019

License

This library is free software. You can redistribute it and/or modify it. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.