📄 chandle.c
字号:
}
void norm_scr37_isr(void) // norm_scr37_isr (37)
{
if((NIPNDH & 0x00000020) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY4>>20)& 0xF)!=(NIVECSR & 0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCH &= ~0x00000020; // clear the bit in the force reg.
}
void norm_scr36_isr(void) // norm_scr36_isr (36)
{
if((NIPNDH & 0x00000010) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY4>>16)& 0xF)!=(NIVECSR & 0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCH &= ~0x00000010; // clear the bit in the force reg.
}
void norm_scr35_isr(void) // norm_scr35_isr (35)
{
if((NIPNDH & 0x00000008) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY4>>12)& 0xF)!=(NIVECSR & 0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCH &= ~0x00000008; // clear the bit in the force reg.
}
void norm_scr34_isr(void) // norm_scr34_isr (34)
{
if((NIPNDH & 0x00000004) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY4>>8)& 0xF)!=(NIVECSR & 0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCH &= ~0x00000004; // clear the bit in the force reg.
}
void norm_scr33_isr(void) // norm_scr33_isr (33)
{
if((NIPNDH & 0x00000002) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY4>>4)& 0xF)!=(NIVECSR & 0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCH &= ~0x00000002; // clear the bit in the force reg.
}
void norm_scr32_isr(void) // norm_scr32_isr (32)
{
if((NIPNDH & 0x00000001) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY4)& 0xF)!=(NIVECSR & 0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCH &= ~0x00000001; // clear the bit in the force reg.
gNormInt32flag = 1; // set flag
}
void norm_scr31_isr(void) // norm_scr31_isr (31)
{
if((NIPNDL & 0x80000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3>>28)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x80000000; // clear the bit in the force reg.
}
void norm_scr30_isr(void) // norm_scr30_isr (30)
{
if((NIPNDL & 0x40000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3>>24)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x40000000; // clear the bit in the force reg.
}
void norm_scr29_isr(void) // norm_scr29_isr (29)
{
if((NIPNDL & 0x20000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3>>20)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x20000000; // clear the bit in the force reg.
}
void norm_scr28_isr(void) // norm_scr28_isr (28)
{
if((NIPNDL & 0x10000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3>>16)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x10000000; // clear the bit in the force reg.
}
void norm_scr27_isr(void) // norm_scr27_isr (27)
{
if((NIPNDL & 0x08000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3>>12)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x08000000; // clear the bit in the force reg.
}
void norm_scr26_isr(void) // norm_scr26_isr (26)
{
if((NIPNDL & 0x04000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3>>8)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x04000000; // clear the bit in the force reg.
}
void norm_scr25_isr(void) // norm_scr25_isr (25)
{
if((NIPNDL & 0x02000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3>>4)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x02000000; // clear the bit in the force reg.
}
void norm_scr24_isr(void) // norm_scr24_isr (24)
{
if((NIPNDL & 0x01000000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY3)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x01000000; // clear the bit in the force reg.
}
void norm_scr23_isr(void) // norm_scr23_isr (23)
{
if((NIPNDL & 0x00800000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2>>28)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00800000; // clear the bit in the force reg.
}
void norm_scr22_isr(void) // norm_scr22_isr (22)
{
if((NIPNDL & 0x00400000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2>>24)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00400000; // clear the bit in the force reg.
}
void norm_scr21_isr(void) // norm_scr21_isr (21)
{
if((NIPNDL & 0x00200000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2>>20)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00200000; // clear the bit in the force reg.
}
void norm_scr20_isr(void) // norm_scr20_isr (20)
{
if((NIPNDL & 0x00100000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2>>16)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00100000; // clear the bit in the force reg.
}
void norm_scr19_isr(void) // norm_scr19_isr (19)
{
if((NIPNDL & 0x00080000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2>>12)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00080000; // clear the bit in the force reg.
}
void norm_scr18_isr(void) // norm_scr18_isr (18)
{
if((NIPNDL & 0x00040000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2>>8)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00040000; // clear the bit in the force reg.
}
void norm_scr17_isr(void) // norm_scr17_isr (17)
{
if((NIPNDL & 0x00020000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2>>4)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00020000; // clear the bit in the force reg.
//gNormInt17flag = 1; // set flag
printf("IRQ source 17 is success\n");
}
void norm_scr16_isr(void) // norm_scr16_isr (16)
{
if((NIPNDL & 0x00010000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY2)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00010000; // clear the bit in the force reg.
gNormInt16flag = 1; // set flag
printf("IRQ source 16 is success\n");
}
void norm_scr15_isr(void) // norm_scr15_isr (15)
{
if((NIPNDL & 0x00008000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1>>28)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00008000; // clear the bit in the force reg.
gNormInt15flag = 1; // set flag
printf("IRQ source 15 is success\n");
}
void norm_scr14_isr(void) // norm_scr14_isr (14)
{
if((NIPNDL & 0x00004000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1>>24)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00004000; // clear the bit in the force reg.
gNormInt14flag = 1; // set flag
printf("IRQ source 14 is success\n");
}
void norm_scr13_isr(void) // norm_scr13_isr (13)
{
if((NIPNDL & 0x00002000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1>>20)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00002000; // clear the bit in the force reg.
gNormInt13flag = 1; // set flag
printf("IRQ source 13 is success\n");
}
void norm_scr12_isr(void) // norm_scr12_isr (12)
{
if((NIPNDL & 0x00001000) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1>>16)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00001000; // clear the bit in the force reg.
gNormInt12flag = 1; // set flag
printf("IRQ source 12 is success\n");
}
void norm_scr11_isr(void) // norm_scr11_isr (11)
{
if((NIPNDL & 0x00000800) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1>>12)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000800; // clear the bit in the force reg.
gNormInt11flag = 1; // set flag
printf("IRQ source 11 is success\n");
}
void norm_scr10_isr(void) // norm_scr10_isr (10)
{
if((NIPNDL & 0x00000400) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1>>8)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000400; // clear the bit in the force reg.
gNormInt10flag = 1; // set flag
printf("IRQ source 10 is success\n");
}
void norm_scr09_isr(void) // norm_scr09_isr (9)
{
if((NIPNDL & 0x00000200) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1>>4)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000200; // clear the bit in the force reg.
gNormInt9flag = 1; // set flag
printf("IRQ source 9 is success\n");
}
void norm_scr08_isr(void) // norm_scr08_isr (8)
{
if((NIPNDL & 0x00000100) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY1)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000100; // clear the bit in the force reg.
gNormInt8flag = 1; // set flag
printf("IRQ source 8 is success\n");
}
void norm_scr07_isr(void) // norm_scr07_isr (7)
{
if((NIPNDL & 0x00000080) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY0>>28)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000080; // clear the bit in the force reg.
gNormInt7flag = 1; // set flag
printf("IRQ source 7 is success\n");
}
void norm_scr06_isr(void) // norm_scr06_isr (6)
{
if((NIPNDL & 0x00000040) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY0>>24)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000040; // clear the bit in the force reg.
gNormInt6flag = 1; // set flag
printf("IRQ source 6 is success\n");
}
void norm_scr05_isr(void) // norm_scr05_isr (5)
{
if((NIPNDL & 0x00000020) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY0>>20)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000020; // clear the bit in the force reg.
gNormInt5flag = 1; // set flag
printf("IRQ source 5 is success\n");
}
void norm_scr04_isr(void) // norm_scr04_isr (4)
{
if((NIPNDL & 0x00000010) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY0>>16)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000010; // clear the bit in the force reg.
gNormInt4flag = 1; // set flag
printf("IRQ source 4 is success\n");
}
void norm_scr03_isr(void) // norm_scr03_isr (3)
{
if((NIPNDL & 0x00000008) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY0>>12)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000008; // clear the bit in the force reg.
gNormInt3flag = 1; // set flag
printf("IRQ source 3 is success\n");
}
void norm_scr02_isr(void) // norm_scr02_isr (2)
{
if((NIPNDL & 0x00000004) == 0) // verify the pending bit is set
{
gFailPendingCount++;
}
if(((NIPRIORITY0>>8)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000004; // clear the bit in the force reg.
gNormInt2flag = 1; // set flag
printf("IRQ source 2 is success\n");
}
void norm_scr01_isr(void) // norm_scr01_isr (1)
{
if((NIPNDL & 0x00000002) == 0)
{
gFailPendingCount++;
}
if(((NIPRIORITY0>>4)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000002; // clear the bit in the force reg.
gNormInt1flag = 1; // set flag
printf("IRQ source 1 is success\n");
}
void norm_scr00_isr(void) // norm_scr00_isr (0)
{
if((NIPNDL & 0x00000001) == 0)
{
gFailPendingCount++;
}
if(((NIPRIORITY0)&0xF)!=(NIVECSR&0xF)) //verify interrupt priority
{
gFailPriorityCount++;
}
INTFRCL &= ~0x00000001; // clear the bit in the force reg.
gNormInt0flag = 1; // set flag
printf("IRQ source 0 is success\n");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -