/**
******************************************************************************
* @file STLcpu.h
* @author MCD Application Team
* @version V1.0.0
* @date May-2012
* @brief This file contains Start-up Cortex-M3 CPU test function
* prototype.
******************************************************************************
* @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 __CORTEXM3_CPU_TEST_H
#define __CORTEXM3_CPU_TEST_H
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* This is to be sure that tested value is in-line with code returned by the
with assembly routine. */
#define CPUTEST_SUCCESS ((uint32_t)0x00000001uL)
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
ErrStatus STL_StartUpCPUTest(void);
ErrStatus STL_RunTimeCPUTest(void);
#endif /* __CORTEXM3_CPU_TEST_H */
/******************* (C) COPYRIGHT STMicroelectronics *****END OF FILE****/