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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DX=0 success AX: 0, Location at [BX:SI] contains system date and time<br />

Related Topics<br />

Top of list<br />

Index page<br />

Set Time/Date<br />

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

TimeDate_Structure type definition<br />

Interrupt 0xAD service 0x29: RTX_SET_TIMEDATE, Set system time and date<br />

Parameters<br />

AH<br />

BX:SI<br />

0x29 (= RTX_SET_TIMEDATE)<br />

Pointer to TimeDate_Structure type filled in by user.<br />

Return Value<br />

Comments<br />

DX=0 success AX: 0<br />

The Day Of Week field (.dow) in TimeDate_Structure need not be set by caller. This API function<br />

computes this field based on the other member data.<br />

Caution: Values for time/date supplied by the caller are not checked for validity.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Get Time/Date<br />

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

TimeDate_Structure type definition<br />

Interrupt 0xAD service 0x2A: RTX_GET_TICKS, Get tick count of system clock<br />

Parameters<br />

AH<br />

Reads out the system millisecond clock tick count.<br />

0x2A (= RTX_GET_TICKS)<br />

Page 198 / 400

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

Saved successfully!

Ooh no, something went wrong!