RTX166 Tiny User's Guide

Interrupts

RTX166 Tiny works in parallel with your interrupt functions. Interrupt service routines may communicate with RTX166 Tiny tasks by sending signals (using the isr_send_signal function).

Interrupt routines must be implemented and enabled in your RTX166 Tiny application as they would be in a standard, non-RTX166 Tiny application. As with other C16x applications, the interrupt source must be enabled in the interrupt control register. Your application code must set the appropriate bits since there is no interrupt service routine management in RTX166 Tiny.

RTX166 Tiny uses one timer (0-6) and its interrupt. Globally disabling all interrupts or using the same timer as RTX166 Tiny stops the operation of the RTX166 kernel. You should disable interrupts for brief periods only.

Note

  • By default, RTX166 Tiny uses Timer 0 and enables the Timer 0 interrupt with ILVL=1 and GLVL=0. No other interrupt source should use this interrupt and group level.