mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-10-06 04:59:34 +08:00
37 lines
894 B
C
37 lines
894 B
C
/**************************************************************************//**
|
||
* @item CosyOS-III Demo
|
||
* @file demo_int.c
|
||
* @brief 例程-系统中断 for STC32G
|
||
* @author 迟凯峰
|
||
* @version V1.0.2
|
||
* @date 2025.08.08
|
||
******************************************************************************/
|
||
|
||
#if 0 /* 编译开关 */
|
||
|
||
#include "CosyOS.H" // 用户的各个c文件中应包含此文件
|
||
|
||
/**
|
||
* \brief 系统中断配置
|
||
* \note CosyOS for 80251,SysTick中断 固定采用 定时器0中断。
|
||
* \note 在 mcucfg_80251.h 中,PendSV中断 配置为 INT0中断。
|
||
*/
|
||
|
||
/**
|
||
* \brief TIM0_Isr 由CosyOS托管,原函数应屏蔽掉。
|
||
*//*
|
||
void TIM0_Isr(void) interrupt 1
|
||
{
|
||
|
||
}*/
|
||
|
||
/**
|
||
* \brief INT0_Isr 由CosyOS托管,原函数应屏蔽掉。
|
||
*//*
|
||
void INT0_Isr(void) interrupt 0
|
||
{
|
||
|
||
}*/
|
||
|
||
#endif
|