21.01.2015 Views

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix A: INtime software system calls<br />

System call<br />

WaitForRtInterrupt<br />

DisableRtInterrupt<br />

EnableRtInterrupt<br />

Description<br />

Used by an interrupt thread to signal its readiness to service an<br />

interrupt. It blocks for the given number of milliseconds.<br />

Disables the specified interrupt level. It has no effect on<br />

other levels.<br />

Enables a specific interrupt level which must have an interrupt<br />

handler assigned to it.<br />

Mailboxes<br />

These calls manage various RT kernel mailbox object types.<br />

INtime software includes two kinds of RT mailboxes:<br />

• Object mailboxes manage RTHANDLES.<br />

• Data mailboxes manage short sections of arbitrary data.<br />

NTX calls<br />

System call<br />

ntxCreateRtMailbox<br />

ntxDeleteRtMailbox<br />

ntxReceiveRtHandle<br />

ntxSendRtHandle<br />

ntxSendRtData<br />

ntxReceiveRtData<br />

Description<br />

Creates an RT mailbox.<br />

Deletes an RT mailbox.<br />

Receives RTHANDLES from an object mailbox.<br />

Sends RTHANDLES to an object mailbox.<br />

Copies arbitrary data to a data mailbox (up to 128 bytes).<br />

Copies arbitrary data out of a data mailbox (up to 128 bytes).<br />

High-level calls<br />

System call<br />

CreateRtMailbox<br />

DeleteRtMailbox<br />

SendRtHandle<br />

ReceiveRtHandle<br />

SendRtData<br />

ReceiveRtData<br />

Description<br />

Creates a new mailbox and returns an RTHANDLE for the object.<br />

The mailbox type is determined by the flags parameter.<br />

Deletes the mailbox specified by the RTHANDLE given.<br />

Sends an RT object RTHANDLE to a mailbox which has been<br />

created to pass RT objects.<br />

Receives an RTHANDLE from an object mailbox.<br />

Copies arbitrary data to a data mailbox (up to 128 bytes).<br />

Copies arbitrary data out of a data mailbox (up to 128 bytes).<br />

117

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

Saved successfully!

Ooh no, something went wrong!