Application Interface Functions
The embedded application relies on the API functions to provide all the services it requires. The table below shows the API functions provided by the SyCore library:
| Service | Group | Function |
|---|---|---|
| Data Flow Control | Data Input / Output and flow control | IOOpen IOClose IOControl IORead IOWrite IOStatus IOWaitTransfer IOCancel IOIDValid IOGetLinkName IOHeapUsage IOSystemUsage IOFormatError IOPrint IOTrace [TRACE / XTRACE] |
| Memory Management | Dynamic Allocation / Reallocation |
IOMalloc IOCalloc IORealloc IOFree |
| Software Task Control | Task Control | IOCreateTask IODestroyTask IOGetTaskID IOGetTaskPriority IOSetTaskPriority IOSetTaskState IOGetTaskInfo IOGetTaskName IOSwitch IOTaskExit IOStartTimer IOStopTimer IOGetSystemTime IOSleep |
| Event Control | IOCreateEvents IODestroyEvents IOGetEvent IOWaitEvent IOWaitEvents IOWaitEventMutex IOReleaseEventMutex IOResetEvent IOSetEvent IOGetEventState | |
| System start and execution control | IOStartSystem IOStopSystem IOCloseAndExecute IOFatalError |