Public Data Types, Enumerations, And Macros; Adi_Flag_Id - Analog Devices VisualDSP++ 5.0 Service Manual

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

Public Data Types, Enumerations, and Macros

Public Data Types, Enumerations, and
Macros
This section defines the public data structures and enumerations used by
the flag service.
Always check the include file for the flag service,
for the most up-to-date information.

ADI_FLAG_ID

The
ADI_FLAG_ID
cessor being targeted. To the client application, flag IDs are simply values
that identify a specific flag; however, each flag ID actually consists of two
pieces of information.
The upper 16 bits of the enumeration is the bit position within the port
that corresponds to that flag. The lower 16 bits is the offset to the flags
system registers that control the flag. A macro is provided that creates a
flag ID, given a bit position and register offset. Macros are also provided
to extract the bit position and register offset when given a flag ID.
Applications rarely, if ever, need access to these macros; however, they are
provided in the
only the completed flag ID value. The preset enumeration values are too
numerous to list here, but take the form
port ID and "
y
for further details.
7-32
enumeration type uniquely defines each flag in the pro-
file for reference. Applications typically use
adi_flag.h
" is the index into the port for the flag. Refer to
VisualDSP++ 5.0 Device Drivers and System
ADI_FLAG_Pxy
Services Manual for Blackfin Processors
,
adi_flag.h
, where "
" is the
x
adi_flag.h

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents