GIO Module
2-120
typedef struct IOM_Packet { /* frame object */
QUE_Elem link; /* queue link */
Ptr addr; /* buffer address */
size_t size; /* buffer size */
Arg misc; /* reserved for driver */
Arg arg; /* user argument */
Uns cmd; /* mini-driver command */
Int status; /* status of command */
} IOM_Packet;
Configuration
Properties
The following list shows the properties that can be configured in a Tconf
script, along with their types and default values. For details, see the GIO
Manager Properties heading. For descriptions of data types, see Section
1.4,
Module Configuration Parameters
Description
The GIO module provides a standard interface to mini-drivers for devices
such as UARTs, codecs, and video capture/display devices. The creation
of such mini-drivers is not covered in this manual; it is described in
DSP/BIOS Device Driver Developer's Guide
(SPRU616).
The GIO module is independent of the actual mini-driver being used. It
allows the application to use a common interface for I/O requests. It also
handles response synchronization. It is intended as common "glue" to
bind applications to device drivers.
Name
Type
Default
ENABLEGIO
Bool
false
CREATEFXN
Extern
prog.extern("FXN_F_nop")
DELETEFXN
Extern
prog.extern("FXN_F_nop")
PENDFXN
Extern
prog.extern("FXN_F_nop"
POSTFXN
Extern
prog.extern("FXN_F_nop")