External_Memory_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

C Run-Time Library Reference

external_memory_read

read from external memory
Synopsis
#include <sysreg.h>
void external_memory_read(int, void*)
Description
The
external_memory_read
tions to read from external memory at the address passed as two
parameters and set the value read from that address as a return value. The
first parameter is the value of the top eight bits of the 24-bit external
memory address to read. The second parameter is the lower 16 bits of the
address of the external memory to read.
This function is implemented as a compiler built-in. The emitted instruc-
tions will be inlined at the point of
inclusion of the
external_memory_read
Error Conditions
The
external_memory_read
error conditions.
Example
#include <sysreg.h>
section("external_memory_section")
static int GlobalTable[256];
int main() {
int page, read_value;
asm("%0 = PAGE(GlobalTable);" : "=e"(page): : );
3-54
function causes the compiler to emit instruc-
include file is mandatory when using
sysreg.h
.
function does not return, raise, or set any
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
external_memory_read
for ADSP-219x DSPs
use. The

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