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.

Interrupt 0xAD service 0x43: RTX_WAIT_EVENTS, Wait for events in a group<br />

The calling task waits for up to a specified number of milliseconds for event(s) in an event group to<br />

assume specified value(s).<br />

Parameters<br />

AH<br />

BX<br />

ES:DI<br />

0x43 (= RTX_WAIT_EVENTS)<br />

Event group ID acquired by RTX_CREATE_EVENTGROUP call.<br />

Pointer to user RTX_Wait_Event type structure filled in by caller.<br />

Return Value<br />

Comments<br />

DX =0 success AX: 0<br />

DX!=0 failure AX: contains error code<br />

The user must fill in the RTX_Wait_Event structure before making this call.<br />

The caller can select whether to await all specified events or a single event.<br />

Related Topics<br />

Top of list<br />

Index page<br />

RTX_Wait_Event type definition<br />

<strong>RTOS</strong> Event Manager<br />

Interrupt 0xAD service 0x44: RTX_GET_EVENTGROUP_STATE, Read the event states<br />

Parameters<br />

AH<br />

BX<br />

ES:DI<br />

Returns the current state of the 16 event flags (bits) of a specified event group.<br />

0x44 (= RTX_GET_EVENTGROUP_STATE)<br />

Event group ID acquired by RTX_CREATE_EVENTGROUP call.<br />

Output Parameter: Pointer to 16 bit location to receive the current state of the event flags<br />

Return Value<br />

Page 211 / 400

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

Saved successfully!

Ooh no, something went wrong!