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 #259 background imageLoading...
Page #259 background image
Device Driver Template
Streaming I/O and Device Drivers 7-29
Example 7-17. Required Statements in dxx.h Header File
Device parameters, such as Dxx_Params, are specified as properties of
the device object in the configuration.
The required table of device functions is contained in dxx.c. This table is used
by the SIO module to call specific device driver functions. For example,
SIO_put uses this table to find and call Dxx_issue/Dxx_reclaim. The table is
shown in Example 7-18.
Example 7-18. Table of Device Functions
/*
* ======== dxx.h ========
*/
#include <dev.h>
extern DEV_Fxns Dxx_FXNS;
/*
* ======== Dxx_Params ========
*/
typedef struct {
`device parameters go here`
} Dxx_Params;
DEV_Fxns Dxx_FXNS = {
Dxx_close,
Dxx_ctrl,
Dxx_idle,
Dxx_issue,
Dxx_open,
Dxx_ready,
Dxx_reclaim

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