External_Memory_Write - 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_write

write to external memory
Synopsis
#include <sysreg.h>
void external_memory_write(int, void*, int)
Description
The
external_memory_write
tions to write to external memory at the address passed in the first two
parameters with the value passed in the last parameter. The first parameter
is the value of the top eight bits of the 24-bit external memory address to
write. The second parameter is the lower 16-bits of the address of the
external memory to write.
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_write
Error Conditions
The
external_memory_write
error conditions.
Example
#include <sysreg.h>
section("external_memory_section")
static int GlobalTable[256];
int main() {
int page, value_to_write = 0;
asm("%0 = PAGE(GlobalTable);" : "=e"(page): : );
3-56
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_write
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