11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Interrupt Handling in CC Language Featuresvectors Is the psect which contains the interrupt code linked directly at the interrupt vectors.altvectors Is the psect which contains the alternative interrupt code linked directly at the alternativeinterrupt vectors.reset_vec Is the psect which contains the reset interrupt vector code.config This psects holds user-programmed processors configuration bits.idata This psects initialization data for xdata objects that require initialization.yidata This psects initialization data for ydata objects that require initialization.The compiler-generated psects which are placed in the data space are:bss These psects contain global or static local variables which are uninitialized.ybss These psects contain global or static local ydata variables which are uninitialized.mconst This is the RAM version of the const psect, when after mapping.data These psects contain any initialised global or static local variables,ydata These psects contain any initialised global or static local ydata variables,nvram This psect is used to store persistent qualified variables. It is not cleared or otherwisemodified by the runtime startup code.ynvram This psect is used to store ydata persistent qualified variables. It is not cleared or otherwisemodified by the runtime startup code.bitbss This psect is used to store all bit variables, except those qualified persistent.ybitbss This psect is used to store all ydata bit variables, except those qualified persistent.nvbit This psect is used to store all bit variables qualified persistent.ynvbit This psect is used to store all ydata bit variables qualified persistent.temp This psect is used for temporary storage.3.10 Interrupt Handling in CThe compiler incorporates features allowing interrupts to be handled from C code. Interrupt functionsare often called interrupt service routines (ISR). Interrupts are also known as exceptions.46

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!