DEV Module
Application Program Interface
2-59
The SIO/DEV model provides a streaming I/O interface. In this model, the
application indirectly invokes DEV functions implemented by the driver
managing the physical device attached to the stream, using generic
functions provided by the SIO module. See the
DSP/BIOS User’s Guide
(SPRU423) for more information on the SIO/DEV model.
The model used by a device is identified by its function table type. A type
of IOM_Fxns is used with the IOM model. A type of DEV_Fxns is used
with the DEV/SIO model.
The DEV module provides the following capabilities:
❏
Device object creation.
You can create device objects through
static configuration or dynamically through the DEV_createDevice
function. The DEV_deleteDevice and DEV_match functions are also
provided for managing device objects.
❏
Driver function templates.
The Dxx functions listed as part of the
DEV module are templates for driver functions. These are the
functions you create for drivers that use the DEV/SIO model.
Application / Fram ew ork
SIO APIs
PIP APIs
PIO Adapter
DIO Adapter
GIO APIs
IOM M ini-Driver(s)
Device
Driver
O n-Chip Peripheral Hardw are
Chip Support Library (CSL)
Off-Chip Peripheral Hardw are
Class
Driver
Mini-
Driver