在F2806x_SWPrioritizedIsrLevels.h头文件中修改中断优先级为什么没有作用,优先级怎么还是从INT1~INT14依次递减?
#define INT1PL 4 // Group1 Interrupts (PIEIER1)
#define INT2PL 1 // Group2 Interrupts (PIEIER2)
#define INT3PL 4 // Group3 Interrupts (PIEIER3)
#define INT4PL 2 // Group4 Interrupts (PIEIER4)
#define INT5PL 2 // Group5 Interrupts (PIEIER5)
#define INT6PL 3 // Group6 Interrupts (PIEIER6)
#define INT7PL 0 // Group7 Interrupts (PIEIER7)
#define INT8PL 5 // Group8 Interrupts (PIEIER8)
#define INT9PL 3 // Group9 Interrupts (PIEIER9)
#define INT10PL 6 // Group10 Interrupts (PIEIER10)
#define INT11PL 6 // Group11 Interrupts (PIEIER11)
#define INT12PL 8 // Group12 Interrupts (PIEIER12)
#define INT13PL 4 // XINT13
#define INT14PL 2 // INT14 (TINT2)
#define INT15PL 4 // DATALOG
#define INT16PL 4 // RTOSINT
10#:
请仔细阅读这个例程,还需要在程序中打开全局中断。
在F2806x_SWPrioritizedIsrLevels.h头文件中修改中断优先级为什么没有作用,优先级怎么还是从INT1~INT14依次递减?
#define INT1PL 4 // Group1 Interrupts (PIEIER1)
#define INT2PL 1 // Group2 Interrupts (PIEIER2)
#define INT3PL 4 // Group3 Interrupts (PIEIER3)
#define INT4PL 2 // Group4 Interrupts (PIEIER4)
#define INT5PL 2 // Group5 Interrupts (PIEIER5)
#define INT6PL 3 // Group6 Interrupts (PIEIER6)
#define INT7PL 0 // Group7 Interrupts (PIEIER7)
#define INT8PL 5 // Group8 Interrupts (PIEIER8)
#define INT9PL 3 // Group9 Interrupts (PIEIER9)
#define INT10PL 6 // Group10 Interrupts (PIEIER10)
#define INT11PL 6 // Group11 Interrupts (PIEIER11)
#define INT12PL 8 // Group12 Interrupts (PIEIER12)
#define INT13PL 4 // XINT13
#define INT14PL 2 // INT14 (TINT2)
#define INT15PL 4 // DATALOG
#define INT16PL 4 // RTOSINT
mangui zhang:
回复 10#:
例程呢?
在F2806x_SWPrioritizedIsrLevels.h头文件中修改中断优先级为什么没有作用,优先级怎么还是从INT1~INT14依次递减?
#define INT1PL 4 // Group1 Interrupts (PIEIER1)
#define INT2PL 1 // Group2 Interrupts (PIEIER2)
#define INT3PL 4 // Group3 Interrupts (PIEIER3)
#define INT4PL 2 // Group4 Interrupts (PIEIER4)
#define INT5PL 2 // Group5 Interrupts (PIEIER5)
#define INT6PL 3 // Group6 Interrupts (PIEIER6)
#define INT7PL 0 // Group7 Interrupts (PIEIER7)
#define INT8PL 5 // Group8 Interrupts (PIEIER8)
#define INT9PL 3 // Group9 Interrupts (PIEIER9)
#define INT10PL 6 // Group10 Interrupts (PIEIER10)
#define INT11PL 6 // Group11 Interrupts (PIEIER11)
#define INT12PL 8 // Group12 Interrupts (PIEIER12)
#define INT13PL 4 // XINT13
#define INT14PL 2 // INT14 (TINT2)
#define INT15PL 4 // DATALOG
#define INT16PL 4 // RTOSINT
10#:
回复 mangui zhang:
C:\ti\controlSUITE\device_support\f2806x\v136\F2806x_examples_ccsv5\sw_prioritized_interrupts