Io_Space_Read - 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

io_space_read

read I/O space
Synopsis
#include <sysreg.h>
int io_space_read(const int)
Description
The
io_space_read
space at the address specified by the parameter.
The function is implemented as a compiler built-in. If the input argument
is a constant literal value the compiler will emit a Type 34 instruction that
will be inlined at the point of
the compiler will call a library compiler support routine to perform the
required read.
Error Conditions
The
io_space_read
conditions.
Example
#include <sysreg.h>
int addr = 0xA;
main(){
int v1 = io_space_read(0xA);
int v2 = io_space_read(addr);
}
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
function returns the value read from I/O memory
io_space_read
function does not return, raise, or set any error
C/C++ Run-Time Library
use. For non-literal inputs
/* inline instruction
will be generated
/* library support routine
will be called
*/
*/
3-67

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