こんにちは。NoMaYです。Azure RTOSでRXマイコンが使えるようになったのですね。コンパイラはGNURXが使われていました。Getting started with the Renesas Starter Kit+ for RX65N-2MB (英文です。)02/05/2021 Ryan Winterdocs.microsoft.com/ja-jp/samples/azure-rtos/getting-started/getting-started-with-the-renesas-starter-kit-for-rx65n-2mb/
こんにちは。NoMaYです。割り込みに関して、ここに、こういう記述がありました。Chapter 3 - Functional Components of Azure RTOS ThreadXlearn.microsoft.com/en-us/azure/rtos/threadx/chapter3「High-frequency InterruptsSome interrupts occur at such a high frequency that saving and restoring full context upon each interrupt would consume excessive processing bandwidth. In such cases, it is common for the application to have a small assembly language ISR that does a limited amount of processing for a majority of these high-frequency interrupts.After a certain point in time, the small ISR may need to interact with ThreadX. This is accomplished by calling the entry and exit functions described in the above template.」なお、`High-frequency`であって、`High-priority`では無い、ですけれども。「Interrupt LatencyThreadX locks out interrupts over brief periods of time. The maximum amount of time interrupts are disabled is on the order of the time required to save or restore a thread's context.」微妙なのは、まさにコンテキストの退避/復帰を行っている期間だけなのか、それともタスク切り替え処理の全体に渡っているのか、というところですかね。それから、タスク切り替えが起きなければ割り込み禁止になることは無いのか、というところですかね。