mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
/********************************** (C) COPYRIGHT *******************************
|
|
* File Name : ch32v10x_it.c
|
|
* Author : WCH
|
|
* Version : V1.0.0
|
|
* Date : 2020/04/30
|
|
* Description : Main Interrupt Service Routines.
|
|
*******************************************************************************/
|
|
#include "ch32v10x_it.h"
|
|
|
|
void NMI_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
|
void HardFault_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
|
|
|
/*******************************************************************************
|
|
* Function Name : NMI_Handler
|
|
* Description : This function handles NMI exception.
|
|
* Input : None
|
|
* Return : None
|
|
*******************************************************************************/
|
|
void NMI_Handler(void)
|
|
{
|
|
}
|
|
|
|
/*******************************************************************************
|
|
* Function Name : HardFault_Handler
|
|
* Description : This function handles Hard Fault exception.
|
|
* Input : None
|
|
* Return : None
|
|
*******************************************************************************/
|
|
void HardFault_Handler(void)
|
|
{
|
|
while (1)
|
|
{
|
|
}
|
|
}
|
|
|
|
|