stm32f7xx_it.c 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /**
  2. ******************************************************************************
  3. * @file stm32f7xx_it.c
  4. * @author MCD Application Team
  5. * @version V1.0.1
  6. * @date 25-June-2015
  7. * @brief Main Interrupt Service Routines.
  8. * This file provides template for all exceptions handler and
  9. * peripherals interrupt service routine.
  10. ******************************************************************************
  11. * @attention
  12. *
  13. * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
  14. *
  15. * Redistribution and use in source and binary forms, with or without modification,
  16. * are permitted provided that the following conditions are met:
  17. * 1. Redistributions of source code must retain the above copyright notice,
  18. * this list of conditions and the following disclaimer.
  19. * 2. Redistributions in binary form must reproduce the above copyright notice,
  20. * this list of conditions and the following disclaimer in the documentation
  21. * and/or other materials provided with the distribution.
  22. * 3. Neither the name of STMicroelectronics nor the names of its contributors
  23. * may be used to endorse or promote products derived from this software
  24. * without specific prior written permission.
  25. *
  26. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  27. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  28. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  29. * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  30. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  31. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  32. * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  33. * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  34. * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  35. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  36. *
  37. ******************************************************************************
  38. */
  39. /* Includes ------------------------------------------------------------------*/
  40. /** @addtogroup CORE
  41. * @{
  42. */
  43. /** @defgroup
  44. * @brief
  45. * @{
  46. */
  47. /* Private typedef -----------------------------------------------------------*/
  48. /* Private define ------------------------------------------------------------*/
  49. /* Private macro -------------------------------------------------------------*/
  50. /* Private variables ---------------------------------------------------------*/
  51. /* Private function prototypes -----------------------------------------------*/
  52. /* Private functions ---------------------------------------------------------*/
  53. /******************************************************************************/
  54. /* Cortex-M4 Processor Exceptions Handlers */
  55. /******************************************************************************/
  56. /**
  57. * @brief This function handles NMI exception.
  58. * @param None
  59. * @retval None
  60. */
  61. void NMI_Handler(void)
  62. {
  63. }
  64. /**
  65. * @brief This function handles Bus Fault exception.
  66. * @param None
  67. * @retval None
  68. */
  69. void BusFault_Handler(void)
  70. {
  71. /* Go to infinite loop when Bus Fault exception occurs */
  72. while (1)
  73. {
  74. }
  75. }
  76. /**
  77. * @brief This function handles Usage Fault exception.
  78. * @param None
  79. * @retval None
  80. */
  81. void UsageFault_Handler(void)
  82. {
  83. /* Go to infinite loop when Usage Fault exception occurs */
  84. while (1)
  85. {
  86. }
  87. }
  88. /**
  89. * @brief This function handles Debug Monitor exception.
  90. * @param None
  91. * @retval None
  92. */
  93. void DebugMon_Handler(void)
  94. {
  95. }
  96. /**
  97. * @}
  98. */
  99. /**
  100. * @}
  101. */
  102. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/