/**
  ******************************************************************************
  * @file    Project/Internal_OSC_Calib/inc/MSIMeasurement.h
  * @author  MCD Application Team
  * @version V1.1.0
  * @date    24-January-2012
  * @brief   Header for lsi_measurement.c
  ******************************************************************************
  * @attention
  *
  * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  *
  * FOR MORE INFORMATION PLEASE READ CAREFULLY THE LICENSE AGREEMENT FILE
  * LOCATED IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.
  *
  * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MSI_MEASUREMENT_H
#define __MSI_MEASUREMENT_H

/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
#define MSI_PERIOD_NUMBERS         10
/* #define OUTPUT_MSI_ON_MCO */ /* Output MSI on MCO pin */

/* Exported functions ------------------------------------------------------- */
uint32_t MSI_FreqMeasure(uint32_t HSIFrequency);
void CLK_ConfigForMSI(void);
void TIM11_ConfigForMSI(void);
void GPIO_ConfigForMSI(void);

#endif /* __MSI_MEASUREMENT_H */

/******************* (C) COPYRIGHT 2012 STMicroelectronics *****END OF FILE****/
