File I/O Support; Extending I/O Support To New Devices - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C/C++ Run-Time Model and Environment
Table 1-17. Miscellaneous Registers (Cont'd)
LPSTACKP
MSTAT
STACKA
STACKP
STACKA

File I/O Support

The VisualDSP++ environment provides access to files on a host system,
using
functions. File I/O support is provided through a set of
stdio
low-level primitives that implement the
operations.The
seek
vide conventional C input and output facilities. The source files for the
I/O primitives are available under the VisualDSP++ installation in the
sub-directory
219x\lib\src\libio_src
Refer to
"stdio.h" on page 3-13

Extending I/O Support To New Devices

The I/O primitives are implemented using an extensible device driver
mechanism. The default start-up code includes a device driver that can
perform I/O through the VisualDSP++ simulator and EZ-KIT Lite. Other
device drivers may be registered and then used through the normal
functions.
A device driver is a set of primitive functions, grouped together into a
structure. This structure is defined in
DevEntry
struct DevEntry {
int
DeviceID;
void
*data;
1-166
scratch
scratch
scratch
scratch
scratch
functions make use of these primitives to pro-
stdio
for more information.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
,
,
open
close
read
.
:
device.h
for ADSP-219x DSPs
,
, and
write
stdio

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents