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.

BX:SI<br />

Output Parameter: Pointer to an unsigned long where the tick count will be stored.<br />

Return Value<br />

Comments<br />

Caller's unsigned long at [BX:SI] contains system tick count.<br />

The system clock runs at 1000 Hz. So each tick represents 1 millisecond.<br />

Related Topics<br />

Top of list<br />

Index page<br />

<strong>RTOS</strong> Time/Date Services<br />

Interrupt 0xAD service 0x09: RTX_ACCESS_FILESYSTEM, Enable file access in task<br />

Parameters<br />

AH<br />

Enable file access for the calling task.<br />

0x09 (= RTX_ACCESS_FILESYSTEM)<br />

Return Value<br />

Comments<br />

DX =0 success AX: 0<br />

DX!=0 failure (Mostly to many processes with file access)<br />

This API call is only necessary for tasks created within applications with the RTX_TASK_CREATE or<br />

RTX_TASK_CREATE_WITHOUT_RUN API. DOS applications' main tasks already have access to the<br />

file system, so this call is not necessary for them.<br />

If DX is -3 then file access is enabled, but reserving a data entry for findfirst/findnext failed.<br />

Related Topics<br />

Top of list<br />

Index page<br />

<strong>RTOS</strong> Task Control Services<br />

Interrupt 0xAD service 0x0A: RTX_GET_TASK_STATE, Get state of a task<br />

Page 199 / 400

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

Saved successfully!

Ooh no, something went wrong!