This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Masking single interrupts question


Do you plan to use, into your application, a run-time customized interrupt prioritization?
If not, you can insert a 1:1 mapping of all of 181 sources into 181 different priority levels and use a biunivoc mapping table.


Bye,
Alessandro.

Thomas Klöber wrote:
Hello,

I am porting eCos to the Infineon Tricore TC1796 and have a question regarding the HAL_INTERRUPT_MASK / -UNMASK macros.

On the TC1796, each of up to 181 active interrupt sources must be assigned a priority (1-255), which also defines its vector number. Single interrupts only can be disabled by the corresponding source, not by priority level. Unfortunately, there is also no (simple) way, to find out, which source actually is set to a given priority.

eCos, on the other hand, expects interrupts to be maskable by their vector number, so what can I do, to accomplish this?

Thanks in advance & regards,

Thomas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]