stm32fxx_STLlib.h 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /**
  2. ******************************************************************************
  3. * @file stm32fxx_STLlib.h
  4. * @author MCD Application Team
  5. * @version V2.2.0
  6. * @date 19-June-2017
  7. * @brief This file references all header files of the Self Test Library
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
  12. *
  13. * Redistribution and use in source and binary forms, with or without modification,
  14. * are permitted provided that the following conditions are met:
  15. * 1. Redistributions of source code must retain the above copyright notice,
  16. * this list of conditions and the following disclaimer.
  17. * 2. Redistributions in binary form must reproduce the above copyright notice,
  18. * this list of conditions and the following disclaimer in the documentation
  19. * and/or other materials provided with the distribution.
  20. * 3. Neither the name of STMicroelectronics nor the names of its contributors
  21. * may be used to endorse or promote products derived from this software
  22. * without specific prior written permission.
  23. *
  24. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  25. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  26. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  27. * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  28. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  29. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  30. * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  31. * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  32. * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  33. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  34. *
  35. ******************************************************************************
  36. */
  37. /* Define to prevent recursive inclusion -------------------------------------*/
  38. #ifndef __STM32Fxx_STL_LIB_H
  39. #define __STM32Fxx_STL_LIB_H
  40. /* Includes ------------------------------------------------------------------*/
  41. #include "stm32fxx_STLparam.h"
  42. /* Include Class B variables */
  43. /* ==============================================================================*/
  44. /* MISRA violation of rule 8.5 - alocation of variables done via header file jus at this place */
  45. #ifdef __IAR_SYSTEMS_ICC__ /* IAR Compiler */
  46. #pragma diag_suppress=Pm123
  47. #endif /* __IAR_SYSTEMS_ICC__ */
  48. #include "stm32fxx_STLclassBvar.h"
  49. #ifdef __IAR_SYSTEMS_ICC__ /* IAR Compiler */
  50. #pragma diag_default=Pm123
  51. #endif /* __IAR_SYSTEMS_ICC__ */
  52. /* ==============================================================================*/
  53. /* Self Test library routines main flow after initialization and at run */
  54. #include "stm32fxx_STLstartup.h"
  55. #include "stm32fxx_STLmain.h"
  56. /* Cortex-M4 CPU test */
  57. #include "stm32fxx_STLcpu.h"
  58. /* Clock frequency test */
  59. #include "stm32fxx_STLclock.h"
  60. /* Invariable memory test */
  61. #include "stm32fxx_STLcrc32.h"
  62. /* Variable memory test */
  63. #include "stm32fxx_STLRam.h"
  64. /* Exported types ------------------------------------------------------------*/
  65. /* Exported constants --------------------------------------------------------*/
  66. /* Exported variables --------------------------------------------------------*/
  67. extern UART_HandleTypeDef UartHandle;
  68. extern IWDG_HandleTypeDef IwdgHandle;
  69. extern WWDG_HandleTypeDef WwdgHandle;
  70. extern CRC_HandleTypeDef CrcHandle;
  71. extern RCC_ClkInitTypeDef RCC_ClkInitStruct;
  72. extern RCC_OscInitTypeDef RCC_OscInitStruct;
  73. /* Exported macro ------------------------------------------------------------*/
  74. /* Exported functions ------------------------------------------------------- */
  75. #endif /* __stm32fxx_STL_LIB_H */
  76. /******************* (C) COPYRIGHT STMicroelectronics *****END OF FILE****/