EasyManuals Logo

Texas Instruments TMS320 User Manual

Texas Instruments TMS320
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #209 background imageLoading...
Page #209 background image
Comparing Driver Models
Input/Output Methods 6-7
6.3.3 Creating a Device for Use with the SIO/DEV Model
If you plan to use SIO streams with the SIO/DEV model and a device driver
that uses the DEV_Fxns function table type, create a user-defined device
statically or with a DEV_createDevice call similar to that shown below:
DEV_Attrs devAttrs ={
NULL,
/* device id */
NULL, /* device parameters */
DEV_SIOTYPE, /* type of the device */
NULL /* device global data ptr */
}
status = DEV_createDevice("/codec", &DSK6X_EDMA_DEVFXNS,
(Fxn)DSK6X_DEV_init, &devAttrs);
The device function tables passed to DEV_createDevice should be of type
DEV_Fxns.
6.3.4 Creating a Device for Use with Provided Software Drivers
DSP/BIOS provides several software drivers that use the SIO/DEV model.
These are described in the DEV module section of the TMS320 DSP/BIOS
API Reference Guide for your platform. Creating the user-defined device for
these drivers is similar to creating a user-defined device for other SIO/DEV
model drivers.

Table of Contents

Other manuals for Texas Instruments TMS320

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320 and is the answer not in the manual?

Texas Instruments TMS320 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320
CategoryComputer Hardware
LanguageEnglish

Related product manuals