Adi_Int_Sicsetivg; Adi_Int_Sicwakeup - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

Instead of using the usual
tion returns the
ADI_INT_RESULT_NOT_ASSERTED
If errors are detected with the calling parameters, this function may return
a different error code.

adi_int_SICSetIVG

The
adi_int_SICSetIVG()
peripheral interrupt is mapped. Upon power-up, the Blackfin processor
invokes a default mapping of peripheral interrupts to the IVG level. This
function alters that mapping. In addition to the
parameter, this function is passed to the IVG level (0 to 15) to which the
peripheral interrupt should be mapped. The function modifies the proper
field within the appropriate SIC interrupt assignment register to the new
mapping.

adi_int_SICWakeup

The
adi_int_SICWakeup()
eral interrupt from waking up the core when the interrupt trigger and the
core are in an idled state. In addition to the
parameter, this function is passed a
SIC interrupt wakeup register is programmed such that the given periph-
eral interrupt wakes up the core when the interrupt is triggered. If the flag
is
, the SIC interrupt wakeup register is programmed such that the
FALSE
given peripheral interrupt does not wake up the core when the interrupt is
triggered.
Note that this function does not enable or disable interrupt processing.
Also note that it is possible to configure the SIC so that a peripheral inter-
rupt wakes up the core from an idled state but does not process the
interrupt. This may or may not be the intended operation.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
ADI_INT_RESULT_SUCCESS
ADI_INT_RESULT_ASSERTED
return code upon a successful completion.
function is used to set the IVG level to which a
function is used to enable or disable a periph-
Interrupt Manager
return code, this func-
or
ADI_INT_PERIPHERAL_ID
ADI_INT_PERIPHERAL_ID
flag. If the flag is
TRUE/FALSE
, the
TRUE
2-11

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