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.

Comments<br />

You must not delete an event group which is in use by another task or timer procedure, as this can lead<br />

to unpredictable results.<br />

Related Topics<br />

Top of list<br />

Index page<br />

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

Interrupt 0xAD service 0x42: RTX_SIGNAL_EVENTS, Signal event(s) in a group<br />

Parameters<br />

AH<br />

BX<br />

CX<br />

DX<br />

Set or clear up to 16 events under a mask in a group.<br />

0x42 (= RTX_SIGNAL_EVENTS)<br />

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

16-Bit event group editing mask. The '1' bits here mark event flags to be set or cleared based on the<br />

corresponding bit value supplied in DX. Other flags in the event group are unaffected.<br />

New event values for the 16 event flags. Only the bits marked '1' in the CX mask are relevant here.<br />

Return Value<br />

Comments<br />

DX = 0 success AX: 0<br />

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

The Event Manager wakes up any tasks that are waiting on these events and satisfied with the resulting<br />

collection of event states (in case of AND waiting condition). This can lead to an immediate task switch if<br />

any of these released tasks are higher priority than the signaling task.<br />

Related Topics<br />

Top of list<br />

Index page<br />

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

Page 210 / 400

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

Saved successfully!

Ooh no, something went wrong!