41 lines
1.3 KiB
C
41 lines
1.3 KiB
C
/**
|
|
* @file n32wb03x_it.c
|
|
* @brief Cortex-M0 exception handlers.
|
|
*
|
|
* SVC_Handler / PendSV_Handler / SysTick_Handler are NOT defined here:
|
|
* they are provided by the FreeRTOS ARM_CM0 port, mapped in FreeRTOSConfig.h:
|
|
* vPortSVCHandler -> SVC_Handler
|
|
* xPortPendSVHandler -> PendSV_Handler
|
|
* xPortSysTickHandler -> SysTick_Handler
|
|
*/
|
|
#include "n32wb03x_it.h"
|
|
|
|
/******************************************************************************/
|
|
/* Cortex-M0 Processor Exceptions Handlers */
|
|
/******************************************************************************/
|
|
|
|
/**
|
|
* @brief This function handles NMI exception.
|
|
*/
|
|
void NMI_Handler(void)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @brief This function handles Hard Fault exception.
|
|
*/
|
|
void HardFault_Handler(void)
|
|
{
|
|
/* Go to infinite loop when Hard Fault exception occurs */
|
|
while (1)
|
|
{
|
|
}
|
|
}
|
|
|
|
/******************************************************************************/
|
|
/* N32WB03X Peripherals Interrupt Handlers */
|
|
/* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
|
|
/* available peripheral interrupt handler's name please refer to the startup */
|
|
/* file (startup_n32wb03x.s). */
|
|
/******************************************************************************/
|