/** ****************************************************************************** * @file STLclockstart.h * @author MCD Application Team * @version V1.0.0 * @date May-2012 * @brief This file contains the prototype of test function for * clock circuitry and frequency at start-up. ****************************************************************************** * @copyright * *

© COPYRIGHT 2012 STMicroelectronics

* * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.st.com/software_license_agreement_liberty_v2 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STL_CLOCK_STARTUP_H #define __STL_CLOCK_STARTUP_H /* Includes ------------------------------------------------------------------*/ /* Exported types ------------------------------------------------------------*/ typedef enum { LSI_START_FAIL, HSE_START_FAIL, HSI_HSE_SWITCH_FAIL, TEST_ONGOING, EXT_SOURCE_FAIL, HSI_SOURCE_FAIL, CLASS_B_VAR_FAIL, CTRL_FLOW_ERROR, FREQ_OK } ClockStatus; /* Exported constants --------------------------------------------------------*/ /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ ClockStatus STL_ClockStartUpTest(void); #endif /* __STL_CLOCK_STARTUP_H */ /******************* (C) COPYRIGHT STMicroelectronics *****END OF FILE****/