17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Built-in Functions<br />

rtos_disable( )<br />

The RTOS is only included in the PCW, PCWH, and PCWHD software packages.<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires:<br />

Examples:<br />

Also See:<br />

rtos_disable (task)<br />

task is the identifier of a function that is being used as an RTOS task.<br />

None<br />

This function disables a task which causes the task to not execute until<br />

enabled by rtos_enable(). All tasks are enabled by default.<br />

All devices<br />

#USE RTOS<br />

rtos_disable(toggle_green)<br />

rtos enable()<br />

rtos_enable( )<br />

The RTOS is only included in the PCW, PCWH, and PCWHD software packages.<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires:<br />

Examples:<br />

Also See:<br />

rtos_enable (task)<br />

task is the identifier of a function that is being used as an RTOS task.<br />

None<br />

This function enables a task to execute at it's specified rate.<br />

All devices<br />

#USE RTOS<br />

rtos_enable(toggle_green);<br />

rtos disable()<br />

259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!