![]() |
clock
1.4
Clock functions for Xmega
|
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 |
To use streams for USART0 port F:
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.