/** * @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" #include "bsp_usart.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). */ /******************************************************************************/ /** * @brief This function handles USART1 global interrupt (RXDNE -> RX queue). */ void USART1_IRQHandler(void) { bsp_usart_rx_isr_handler(); }