| Target Support Package™ TC6 | ![]() |
DSP/BIOS Library in Target Support Package TC6 software
Creates a task that runs asynchronously in response to an ISR and as a separate DSP/BIOS thread. The spawned task runs the downstream function call subsystem in the model.
When the process runs this task, it uses a semaphore structure to enable the task and restrict access by it to other resources.

Creates a name for the task. Enter a string of up to 32 characters, including numbers and letters as needed. You cannot use the standard C reserved characters, such as / or : in the name.
Sets the priority for the task, where 1 is the lowest priority and 15 the highest. Higher priority tasks can preempt tasks that have lower priority, unless the preemptible flag (Preemption flag option on the Hardware Interrupt block) prevents preempting the task.
Specify the size of the stack the task uses. The value defaults to 4096 bytes. Take care to set the stack size as large as necessary. If the task uses more than the allotted space it can write into other memory areas with unintended results.
Specify where the stack resides in memory by specifying the memory segment. Additional information about DSP/BIOS memory segments also appears in the Target Preferences block in the model.
Specify whether this task should synchronize data transfer with the calling task. Select this option to enable synchronization. Clearing this option enables the Timer resolution option.
When you direct the block not to synchronize data with the calling task (by clearing Synchronize data transfer of this task with caller task), Timer resolution reports the resolution of the timer. Timer resolution is a read-only parameter. You cannot change the value.
DSP/BIOS Hardware Interrupt, DSP/BIOS Task
![]() | DSP/BIOS Task | From RTDX | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |