ry7740kptv 发表于 2013-9-23 21:40
基础问题,请先自行补习!
STM32的中断服务函数都集中在stm32f10x_it.c和stm32f10x_it.h中定义;中断的 ...
能具体点么
我看stm32f10x_it.c里面全是空的函数#include \"stm32f10x_it.h\"
void NMI_Handler(void)
{
}
void HardFault_Handler(void)
{
/* Go to infinite loop when Hard Fault exception occurs */
while (1)
{
}
}
void MemManage_Handler(void)
{
/* Go to infinite loop when Memory Manage exception occurs */
while (1)
{
}
}
void BusFault_Handler(void)
{
/* Go to infinite loop when Bus Fault exception occurs */
while (1)
{
}
}
void UsageFault_Handler(void)
{
/* Go to infinite loop when Usage Fault exception occurs */
while (1)
{
}
}
void SVC_Handler(void)
{
}
void DebugMon_Handler(void)
{
}
void PendSV_Handler(void)
{
}
void SysTick_Handler(void)
{
}nvic能配置中断响应优先级和抢占优先级
到底咋配置?
郁闷啊
200字以内,仅用于支线交流,主线讨论请采用回复功能。