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.

INtime <strong>3.1</strong> <strong>Software</strong><br />

RT services and device drivers<br />

RT service calls<br />

System call<br />

DeliverMessage<br />

DeliverStatus<br />

DeliverTransaction<br />

DequeueInputTransaction<br />

DequeueOutputTransaction<br />

EnqueueInputTransaction<br />

EnqueueOutPutTransaction<br />

EnterServiceRegion<br />

ExitServiceRegion<br />

GetPortId<br />

GetPortParameter<br />

GetTransaction<br />

LookupPortHandle<br />

QueryInputTransactionQueue<br />

QueryOutputTransactionQueue<br />

ReleaseControlBuffer<br />

ReleaseTransaction<br />

Description<br />

Delivers a complete transactionless message to a port. This call<br />

is typically made from the service thread.<br />

Terminates a transmit operation, usually from the service<br />

thread.<br />

Delivers a transaction. This call is used after a service thread<br />

receives a response message, and the transaction is complete.<br />

Dequeues the transaction at the head of the service input<br />

queue and returns a pointer to it.<br />

Dequeues the transaction at the head of the service output<br />

queue and returns a pointer to it.<br />

Enqueues a transaction on the service input queue. This allows<br />

the service to maintain an ordered list of requests for later<br />

completion by the service thread.<br />

Enqueues a transaction on the service output queue when (for<br />

example) the transmitter hardware is busy.<br />

Enters the region associated with the service. Currently the<br />

SendMessage handler is called while in this region. If mutual<br />

exclusion is desired between the service thread and the<br />

SendMessage handler, the service thread can make this call.<br />

Exits the service region previously entered with<br />

EnterServiceRegion.<br />

Returns the port ID for a given port handle.<br />

Retrieves the parameter previously associated with a port by a<br />

call to SetPortParameter.<br />

Upon receiving a response message from the interface,<br />

instructs the service thread to tie the message with its<br />

transaction structure.<br />

Looks up a port handle given a port ID.<br />

Returns the transaction at the head of the service input queue.<br />

Returns the transaction at the head of the service output<br />

queue.<br />

Returns a control buffer to the service pool.<br />

Returns a transaction structure to the pool.<br />

132

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

Saved successfully!

Ooh no, something went wrong!