SW006013 Microchip Technology, SW006013 Datasheet - Page 36

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
2.9
DS51456E-page 32
<SETJMP.H> NON-LOCAL JUMPS
The header file
transfers to occur that bypass the normal function call and return process.
jmp_buf
Description:
Include:
Prototype:
Remarks:
setjmp
Description:
Include:
Prototype:
Argument:
Return Value:
Example:
longjmp
Description:
Include:
Prototype:
Arguments:
Remarks:
setjmp.h
A type that is an array used by setjmp and longjmp to save and
restore the program environment.
<setjmp.h>
typedef int jmp_buf[_NSETJMP];
_NSETJMP is defined as 16 + 2 that represents 16 registers and a
32-bit return address.
A macro that saves the current state of the program for later use by
longjmp.
<setjmp.h>
#define setjmp(jmp_buf env)
env variable where environment is stored
If the return is from a direct call, setjmp returns zero. If the return is
from a call to longjmp, setjmp returns a non-zero value.
Note: If the argument val from longjmp is 0, setjmp returns 1.
See longjmp.
A function that restores the environment saved by setjmp.
<setjmp.h>
void longjmp(jmp_buf env, int val);
env variable where environment is stored
val value to be returned to setjmp call.
The value parameter val should be non-zero. If longjmp is invoked
from a nested signal handler (that is, invoked as a result of a signal
raised during the handling of another signal), the behavior is undefined.
consists of a type, a macro and a function that allow control
© 2008 Microchip Technology Inc.

Related parts for SW006013