Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Product List
RTOS and Software Interrupts Slide 11

Creating a new Swi with the XGCONF configuration tool is shown here. The Swi module itself can be configured to specify the number of Swi priority levels that are being used by the system. Constraining this value to less than the maximum is a memory optimization, since the Swi stack will need to grow every time one Swi can be preempted by another one of higher priority. Setting this value as low as possible will minimize the size of the stack allocation that is required. The Swi instance itself will be configured with the name of the function to be run, any static constant values that should be passed as an argument to the function, as well as the Swi’s priority and initial trigger value.

PTM Published on: 2012-07-17