中断函数
/*******************************************************************************
* Function Name : PVD_IRQHandler
* Description : This function handles PVD interrupt request.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void PVD_IRQHandler(void)
{
u8 tmp;
if(EXTI_GetITStatus(EXTI_Line16) != RESET) {
GPIO_SetBits(GPIOE,GPIO_Pin_6); // 点亮LED
/* Method[0]=g_hAssemblyTestVar[0].uTestResault;
Method[1]=g_hAssemblyTestVar[0].u32_OpenCnt>>24;
Method[2]=g_hAssemblyTestVar[0].u32_OpenCnt>>16;
Method[3]=g_hAssemblyTestVar[0].u32_OpenCnt>>8;
Method[4]=g_hAssemblyTestVar[0].u32_OpenCnt&0XFF;
Method[5]=g_hAssemblyTestVar[0].u32_OpenFullCnt>>24;
Method[6]=g_hAssemblyTestVar[0].u32_OpenFullCnt>>16;
Method[7]=g_hAssemblyTestVar[0].u32_OpenFullCnt>>8;
Method[8]=g_hAssemblyTestVar[0].u32_OpenFullCnt&0XFF;
Method[9]=g_hAssemblyTestVar[0].u32_CloseCnt>>24;
Method[10]=g_hAssemblyTestVar[0].u32_CloseCnt>>16;
Method[11]=g_hAssemblyTestVar[0].u32_CloseCnt>>8;
Method[12]=g_hAssemblyTestVar[0].u32_CloseCnt&0XFF;
Method[13]=g_hAssemblyTestVar[0].u32_CloseFullCnt>>24;
Method[14]=g_hAssemblyTestVar[0].u32_CloseFullCnt>>16;
Method[15]=g_hAssemblyTestVar[0].u32_CloseFullCnt>>8;
Method[16]=g_hAssemblyTestVar[0].u32_CloseFullCnt&0XFF;
Method[17]=g_hAssemblyTestVar[0].u32_Close23cnt>>24;
Method[18]=g_hAssemblyTestVar[0].u32_Close23cnt>>16;
Method[19]=g_hAssemblyTestVar[0].u32_Close23cnt>>8;
Method[20]=g_hAssemblyTestVar[0].u32_Close23cnt&0XFF;
Method[21]=g_hAssemblyTestVar[0].u16_uStallCnt>>8;
Method[22]=g_hAssemblyTestVar[0].u16_uStallCnt&0XFF;
Method[23]=g_hAssemblyTestVar[0].StartTest;
sEE_WriteBuffer(Method, TESTCNTADDR,24);
tmp=0XAA;
sEE_WriteBuffer(&tmp, TESTCNTFLGADDR, 1);
EXTI_ClearITPendingBit(EXTI_Line16);
*/
}
}
我在中断里点灯,正常的话断电之后应该会闪亮一下的,
但是灯一直是灭的,
为啥呢