/*==============================================================================
* File Name : DS18B20.c
* Author : Puppyh
* Version : V0.1
* Date : 10/15/2008
* Description : Main program
==============================================================================*/
/* Includes */
#include "stm32f10x_lib.h"
#include "lib_bits.h"
RCC_SYSCLKConfig(RCC_SYSCLKSource_PLLCLK); // Select PLL as system clock source
while(RCC_GetSYSCLKSource() != 0x08) {} // Wait till PLL is used as system clock source
}
RCC_GetClocksFreq(&RCC_ClockFreq); // This function fills a RCC_ClocksTypeDef structure with the current frequencies of different on chip clocks (for debug purpose)