Minikombajn Pomiarowy
20
Main Page
Files
File List
Globals
All
Files
Functions
Variables
Macros
clksys_driver.h
Go to the documentation of this file.
1
/* This file has been prepared for Doxygen automatic documentation generation.*/
59
#ifndef CLKSYS_DRIVER_H
60
#define CLKSYS_DRIVER_H
61
62
#include "
avr_compiler.h
"
63
64
65
/* Definitions of macros. */
66
78
#define CLKSYS_Enable( _oscSel ) ( OSC.CTRL |= (_oscSel) )
79
91
#define CLKSYS_IsReady( _oscSel ) ( OSC.STATUS & (_oscSel) )
92
98
#define CLKSYS_RTC_ClockSource_Disable() ( CLK.RTCCTRL &= ~CLK_RTCEN_bm )
99
105
#define CLKSYS_AutoCalibration_Disable( _clk ) ( (_clk).CTRL &= ~DFLL_ENABLE_bm )
106
107
108
/* Prototyping of function. Detailed information is found in source file. */
109
void
CCPWrite
(
volatile
uint8_t * address, uint8_t value );
110
/*void CLKSYS_XOSC_Config( OSC_FRQRANGE_t freqRange,
111
bool lowPower32kHz,
112
OSC_XOSCSEL_t xoscModeSelection );
113
void CLKSYS_PLL_Config( OSC_PLLSRC_t clockSource, uint8_t factor );
114
uint8_t CLKSYS_Disable( uint8_t oscSel );
115
void CLKSYS_Prescalers_Config( CLK_PSADIV_t PSAfactor,
116
CLK_PSBCDIV_t PSBCfactor );
117
uint8_t CLKSYS_Main_ClockSource_Select( CLK_SCLKSEL_t clockSource );
118
void CLKSYS_RTC_ClockSource_Enable( CLK_RTCSRC_t clockSource );
119
void CLKSYS_AutoCalibration_Enable( uint8_t clkSource, bool extReference );
120
void CLKSYS_XOSC_FailureDetection_Enable( void );
121
void CLKSYS_Configuration_Lock( void );*/
122
123
124
#endif
Generated on Tue Feb 19 2013 21:18:48 for Minikombajn Pomiarowy by
1.8.1.2