interrupt
define interrupt handling
Synopsis
#include <signal.h>
void (*interrupt (int sig, void(*func)(int))) (int);
void (*interruptf(int sig, void(*func)(int))) (int);
void (*interrupts(int sig, void(*func)(int))) (int);
Description
These functions are Analog Devices extensions to the ANSI standard.
The
interrupt
execution is handled. The
pointed to by
func
function only once.
The different variants of the
handler dispatching functions. The variants will be appropriate for some
applications and provide improved efficiency. The default
function dispatcher saves and restores all scratch registers and modes on
the data stack around a call to the handler (
rupt. This dispatcher will pass the interrupt ID (for example,
to the handler as its parameter.
The
interruptf
switches between primary and secondary register sets to save and restore
registers instead of using the data stack. The
be used in applications where nested interrupts are enabled. This interrupt
dispatcher will pass the interrupt ID to the handler as its parameter.
The
interrupts
number of registers and modes required to determine if a handler has been
registered and to call that handler. The handler passed as input to
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
function determines how a signal received during program
interrupt
at every interrupt
interrupt
interrupt dispatcher is similar to
interrupt dispatcher saves and restores only the smallest
C/C++ Run-Time Library
function executes the function
; the
function executes the
sig
signal
functions differentiate between
) when servicing an inter-
func
interrupt
interruptf
interrupt
)
SIG_PWRDWN
, except that it
function cannot
3-63
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?