1.2.3 PRIME_Open Function
C
void PRIME_Open(SYS_MODULE_INDEX index)
Summary
Opens the PRIME Stack for the specified index.
Description
This routine opens the PRIME Stack instance making it ready for clients to use.
Precondition
PRIME_Initialize routine must have been called before, and its
returned object used when calling this function.
Parameters
| Parameters | Description |
|---|---|
| index | Identifier for the instance to be opened |
Returns
None.
Example
PRIME_STACK_INIT initData; SYS_MODULE_OBJ sysObjPrime; sysObjPrime = PRIME_Initialize(PRIME_INDEX_0, (SYS_MODULE_INIT *)&initData); PRIME_Open(PRIME_INDEX_0);
Remarks
This routine must be called before any other PRIME routine is called, except
PRIME_Initialize.
