01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Top of list<br />

Index page<br />

Interrupt 0xAD service 0x31: RTX_REMOVE_TIMER, Remove a timer procedure<br />

Parameters<br />

AH<br />

BX<br />

Stop execution and remove a timer procedure.<br />

0x31 (= RTX_REMOVE_TIMER)<br />

timerID produced by the RTX_INSTALL_TIMER call<br />

Return Value<br />

Comments<br />

DX =0 success AX: 0<br />

DX!=0, failure AX contains error code, invalid timerID.<br />

It is safe to call this API from within the timer procedure being removed.<br />

It is possible to reinstall a timer procedure after removing it from the system.<br />

Related Topics<br />

Top of list<br />

Index page<br />

<strong>RTOS</strong> Timer Procedures<br />

Interrupt 0xAD service 0x32: RTX_START_TIMER, Start periodic timer procedure<br />

Parameters<br />

AH<br />

BX<br />

Starts the periodic execution of a timer procedure.<br />

0x32 (= RTX_START_TIMER)<br />

timerID produced by the RTX_INSTALL_TIMER call<br />

Return Value<br />

DX =0 success AX: 0<br />

DX!=0 failure AX: contains error code, invalid timerID.<br />

Page 207 / 400

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

Saved successfully!

Ooh no, something went wrong!