This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A way use isr_evt_set function by FIQ in ARTX

In the ARTX, since the isr_evt_set can not be use in the __fiq function, I use the __swi function set the task instead. for exampal:

void IsrSetFunction (void) __swi (8) {
isr_evt_set (0x0001, tskMyTask);
}

void FIQ_Handler (void) __fiq {
IsrSetFunction();
EXTINT = 0x00000002; // Clear the peripheral interrupt flag
}

But this way will do? You know, the ARTX using the swi to do something.
'Software interrupts 0-7 are used by the Advanced Real-Time Kernel (ARARM) and may not be used in your application.'
So if I use the swi to set a task, this will occur some problem in ARTX?

Parents
  • In my system, I need the FIQ to do something fast but part of the program in the FIQ needn't do fast. Because I want the FIQ can end faster so I want to set a task in the FIQ to do that part of program. But my way to set task in the FIQ is a good way? Any more good suggest?

Reply
  • In my system, I need the FIQ to do something fast but part of the program in the FIQ needn't do fast. Because I want the FIQ can end faster so I want to set a task in the FIQ to do that part of program. But my way to set task in the FIQ is a good way? Any more good suggest?

Children
No data