SW006012 Microchip Technology, SW006012 Datasheet - Page 4

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
Chapter 4. MPLAB C30 C Compiler Runtime Environment
Chapter 5. Data Types
Chapter 6. Device Support Files
Chapter 7. Interrupts
DS51284F-page iv
®
4.1 Introduction ................................................................................................... 63
4.2 Highlights ...................................................................................................... 63
4.3 Address Spaces ........................................................................................... 63
4.4 Code and Data Sections .............................................................................. 65
4.5 Startup and Initialization ............................................................................... 67
4.6 Memory Spaces ........................................................................................... 68
4.7 Memory Models ............................................................................................ 69
4.8 Locating Code and Data ............................................................................... 71
4.9 Software Stack ............................................................................................. 72
4.10 The C Stack Usage .................................................................................... 73
4.11 The C Heap Usage ..................................................................................... 75
4.12 Function Call Conventions ......................................................................... 76
4.13 Register Conventions ................................................................................. 78
4.14 Bit Reversed and Modulo Addressing ........................................................ 79
4.15 Program Space Visibility (PSV) Usage ...................................................... 79
5.1 Introduction ................................................................................................... 81
5.2 Highlights ...................................................................................................... 81
5.3 Data Representation .................................................................................... 81
5.4 Integer .......................................................................................................... 81
5.5 Floating Point ............................................................................................... 82
5.6 Pointers ........................................................................................................ 82
6.1 Introduction ................................................................................................... 83
6.2 Highlights ...................................................................................................... 83
6.3 Processor Header Files ................................................................................ 83
6.4 Register Definition Files ............................................................................... 84
6.5 Using SFRs .................................................................................................. 85
6.6 Using Macros ............................................................................................... 87
6.7 Accessing EEDATA from C Code - dsPIC30F dSCs only ............................ 88
7.1 Introduction ................................................................................................... 91
7.2 Highlights ...................................................................................................... 91
7.3 Writing an Interrupt Service Routine ............................................................ 92
7.4 Writing the Interrupt Vector .......................................................................... 94
7.5 Interrupt Service Routine Context Saving .................................................. 104
7.6 Latency ....................................................................................................... 104
7.7 Nesting Interrupts ....................................................................................... 104
7.8 Enabling/Disabling Interrupts ..................................................................... 105
7.9 Sharing Memory Between Interrupt Service Routines and Mainline Code 106
7.10 PSV Usage with Interrupt Service Routines ............................................. 109
C30 User’s Guide
© 2007 Microchip Technology Inc.

Related parts for SW006012