Driver Interface Functions

To aid the writing of device drivers the SyCore library provides many functions to simplify the process.

ServiceGroupFunction
Device Driver Control Driver interface functions IODCreateDevice
IODDestroyDevice
IODIDValid
IODGetDynamicDevice
IODLinkDevice
IODCloseAllStreams
IODCloseStream
IODCloseAlways
IODCloseTaskStreams
IODSetTransferError
Memory Management Dynamic Allocation / Reallocation IOMalloc
IOCalloc
IORealloc
IOFree
Stream table function macros IODGetTransferError
IODSetWriteError
IODGetWriteError
IODSetReadError
IOGetReadError
IODGetTransferBuffer
IODGetRxBuffer
IODGetWxBuffer
IODStreamOpen
IODStartTransfer
IODSetOptions
IODGetOptions
IODSetDevice
IODGetDevice
IODSetExtension
IODGetExtention
IODSetIOID
IODGetIOID
IODSetTaskID
IODGetTaskID
IODGetLinkName
Data flow functions Function macros for access to IOBuffers. IOBUsed
IOBFree
IOBEmpty
IOBClear
IOBGetBase
IOBSetBase
IOBGetPointer
IOBTruncate
IOBGetLength
IOBPending
IOBClearPending
IOBSetPending
IOBGetTaskID
IOBuffer interface functions. IOBInitialise
IOBSetBuffer
IOBFull
IOBAvailable
IOBReady
IOBIsReady
IOBDataReady
IOBPutByte
IOBGetByte
IOBCheckIO
IOBTransferPacket