STLclockrun.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. ******************************************************************************
  3. * @file STLclockrun.h
  4. * @author MCD Application Team
  5. * @version V1.0.0
  6. * @date May-2012
  7. * @brief Contains prtotypes of routines required to monitor
  8. * CPU frequency during run-time.
  9. ******************************************************************************
  10. * @copyright
  11. *
  12. * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
  13. *
  14. * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
  15. * You may not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at:
  17. *
  18. * http://www.st.com/software_license_agreement_liberty_v2
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an "AS IS" BASIS,
  22. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. */
  26. /* Define to prevent recursive inclusion -------------------------------------*/
  27. #ifndef __STL_CLOCK_RUNTIME_H
  28. #define __STL_CLOCK_RUNTIME_H
  29. /* Includes ------------------------------------------------------------------*/
  30. /* Exported types ------------------------------------------------------------*/
  31. /* Exported constants --------------------------------------------------------*/
  32. /* Exported macro ------------------------------------------------------------*/
  33. /* Exported functions ------------------------------------------------------- */
  34. void STL_SysTickRTCSync(void);
  35. ClockStatus STL_ClockFreqTest(void);
  36. uint32_t STL_MeasurePeriod(void);
  37. ClockStatus STL_CheckPeriod(uint32_t Period);
  38. #endif /* __STL_CLOCK_RUNTIME_H */
  39. /******************* (C) COPYRIGHT STMicroelectronics *****END OF FILE****/