Platform Dependent
OS Adaptation
Interface Driver
sl_SyncObjCreate
sl_SyncObjDelete
sl_SyncObjSignal
sl_SyncObjSignalFromIRQ
sl_SyncObjWait
sl_LockObjCreate
sl_LockObjDelete
sl_LockObjLock
sl_LockObjUnlock
sl_IfOpen
sl_IfClose
sl_IfRead
sl_IfWrite
sl_IfRegIntHdlr
Platform General
sl_DeviceEnable
sl_DeviceDisable
Optional
sl_Spawn
slcb_SetErrno
Optional
sl_IfMaskIntHdlr
sl_IfUnMaskIntHdlr
Optional
slcb_GetTimestamp
sl_Malloc
sl_Free
Host Driver Overview
19
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
Overview
1.4.4 Porting to Different Platforms
To use the driver on different platforms, the host must implement a few adaptation modules.
shows these adaptation modules.
Figure 1-4. Host Driver Adaptation Modules (Platform-Dependent)
For more information about porting the driver to new platforms, see