Analog Devices VISUALDSP++ 3.5 Manual page 368

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C Run-Time Library Reference
The
function causes the receipt of the signal number
signal
handled in one of the following ways:
SIG_DFL
SIG_IGN
• Function address—The function pointed to by
The function pointed to by
is received. Handling is then returned to the default state.
Interrupts are not nested by the default start-up file.
Error Conditions
The
function returns
signal
not recognize the requested signal.
Example
#include <signal.h>
void handler (int sig) {
}
main () {
/* enable power down interrupt and register ISR */
signal(SIG_PWRDWN, handler);
/* disable power down interrupt */
signal(SIG_PWRDWN, SIG_IGN);
/* enable power down interrupt and register ISR */
signalf(SIG_PWRDWN, handler);
/* disable power down interrupt */
signalf(SIG_PWRDWN, SIG_IGN);
}
3-114
—The default action is taken.
—The signal is ignored.
SIG_ERR
/* Interrupt Service Routine (ISR) */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
is executed once when the signal
func
and sets
to
errno
for ADSP-219x DSPs
to be
sig
is executed.
func
if it does
SIG_ERR

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents