Table 3-15. Interrupt Function Signals - Values and Meanings (Cont'd)
Sig Value
SIGTERM
SIGFPE
The
interrupt
handled in one of the following ways:
•
SIG_DFL
•
SIG_IGN
• Function Address—The function pointed to by
The function pointed to by
received. The
interrupt
ment to disable interrupt handling.
Interrupts are not nested by the default start-up file.
Error Conditions
The
interrupt
the requested interrupt is not recognized.
Example
include <signal.h>
void handler (int sig) {
}
main () {
/* enable power down interrupt and register ISR */
interrupt(SIG_PWRDWN, handler);
/* disable power down interrupt */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
Definition
software interrupt
software interrupt
functions cause the receipt of the signal number
—The default action is taken.
—The signal is ignored.
func
function must be called with the
functions return
SIG_ERR
/* Interrupt Service Routine (ISR) */
C/C++ Run-Time Library
is executed each time the interrupt is
and set
errno
to be
sig
is executed.
func
argu-
SIG_IGN
equal to
if
SIG_ERR
3-65
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?