LCM — CH32V003 Light Control Module
Light Control Module, I2C slave
Loading...
Searching...
No Matches
ch32v00x_it.c
Go to the documentation of this file.
1/********************************** (C) COPYRIGHT *******************************
2 * File Name : ch32v00x_it.c
3 * Author : WCH
4 * Version : V1.0.0
5 * Date : 2023/12/25
6 * Description : Main Interrupt Service Routines.
7*********************************************************************************
8* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
9* Attention: This software (modified or not) and binary are used for
10* microcontroller manufactured by Nanjing Qinheng Microelectronics.
11*******************************************************************************/
12#include <ch32v00x_it.h>
13
14void NMI_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
15void HardFault_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
16
17/*********************************************************************
18 * @fn NMI_Handler
19 *
20 * @brief This function handles NMI exception.
21 *
22 * @return none
23 */
24void NMI_Handler(void)
25{
26 while (1)
27 {
28 }
29}
30
31/*********************************************************************
32 * @fn HardFault_Handler
33 *
34 * @brief This function handles Hard Fault exception.
35 *
36 * @return none
37 */
39{
40 NVIC_SystemReset();
41 while (1)
42 {
43 }
44}
45
46
void HardFault_Handler(void)
Definition ch32v00x_it.c:38
void NMI_Handler(void)
Definition ch32v00x_it.c:14