Adi_Int_Setimaskbits - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

Interrupt Manager API Reference

adi_int_SetIMaskBits

Description
This function is used by the interrupt manager to set bits in the
register. Though it can also be called by the application, the application
should not attempt to modify bits in the
interrupt vector groups that are under the control of the interrupt
manager.
The implementation of this function depends upon the operating environ-
ment. In the standalone version of the service, this function detects
whether the processor is within a protected region of code (refer to the
adi_int_EnterCriticalRegion
functions). If it is, the saved value of
current "live"
IMASK
adi_int_ExitCriticalRegion
with the new bit settings is restored. Upon entering this function, if the
processor is not within a protected region of code, the "live"
is updated accordingly.
Information on the implementation details for this function in other oper-
ating environments can be found in the file
Blackfin/include/services/
environment.
Regardless of the implementation details, the API is consistent from envi-
ronment to operating environment. Application software does not have to
change when moving to a different operating environment.
Prototype
void adi_int_SetIMASKBits(
ADI_INT_IMASK
);
2-34
and
adi_int_ExitCriticalRegion
IMASK
value is left unchanged. When the outermost
function is called, the saved
directory, where
BitsToSet
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
register that represent
IMASK
is updated accordingly and the
IMASK
, located in the
adi_int_xxx.h
is the operating
xxx
IMASK
value
register
IMASK

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?

Questions and answers

Table of Contents