Re:add user interrupts on future device
rocksoft wrote: Hi,
If I understand your meaning you can either...
Pend an interrupt in software you can use the "Software Trigger Interrupt Register" or directly write the bits in the "Interrupt Set Pending Register" these are both in the Cortex core. There are many unused interrupts in the core on LM devices.
Or...
Use the SVC instruction.
Regards,
Liam.
In fact,there are some reserved interrupts in Luminary devices,but they are not available for user.Those defined by Cortex-M3 core(max 240 interrupts) are not all implemented by Luminary at all. 'Use the SVC instruction' can implement a traditional OS.But,I mean that we can use interrupt system functions as a hardware 'OS'.
login or register to reply
|