Jump to main content
MPLAB® XC-DSC C/C++ Compiler User Guide for dsPIC33C/E/F and dsPIC30 DSC
MPLAB® XC-DSC C/C++ Compiler User Guide for dsPIC33C/E/F and dsPIC30 DSC
  1. Home
  2. 11 Memory Allocation and Access
  3. 11.3 Variables in Program Space
Previous | Next
  • Notice to Development Tools Customers
  • 1 Preface
  • 2 Compiler Overview
  • 3 Compiler and Other Development Tools
  • 4 How To's
  • 5 XC-DSC Toolchain and Supporting IDEs
  • 6 Compiler Command-Line Driver
  • 7 Device-Related Features
  • 8 Differences Between MPLAB® XC-DSC and Language Standards
  • 9 Supported Data Types and Variables
  • 10 Fixed-Point Arithmetic Support
  • 11 Memory Allocation and Access
    • 11.1 Address Spaces
    • 11.2 Variables In Data Space Memory
    • 11.3 Variables in Program Space
      • 11.3.1 auto_psv Memory Space
      • 11.3.2 Automatically Allocating Objects into Program Space
      • 11.3.3 Allocation and Access of Program Memory Objects
      • 11.3.4 Access of Objects in Program Memory
      • 11.3.5 Size Limitations of Program Memory Variables [DD]
      • 11.3.6 Changing Program Memory Variable Allocation [DD]
    • 11.4 Parallel Master Port Access
    • 11.5 External Memory Access
    • 11.6 Extended Data Space Access
    • 11.7 Dataflash Memory Access
    • 11.8 Dual Partition Memory Access
    • 11.9 Packing Data Stored in Flash
    • 11.10 Allocation of Variables to Registers
    • 11.11 Variables in EEPROM Data Space (Device Dependent)
    • 11.12 Dynamic Memory Allocation
    • 11.13 Co-Resident Applications
    • 11.14 Memory Models
    • 11.15 Thread Local Storage (TLS)
  • 12 Operators and Statements
  • 13 Register Usage
  • 14 Functions
  • 15 Interrupts
  • 16 Main, Runtime Startup and Reset
  • 17 Mixing C/C++ and Assembly Code
  • 18 Library Routines
  • 19 Optimizations
  • 20 Preprocessing
  • 21 Linking Programs
  • 22 C Implementation-Defined Behavior
  • 23 C++ Implementation-Defined Behavior
  • 24 Embedded Compiler Compatibility Mode
  • 25 Common C Interface
  • 26 Diagnostic Pragmas
  • 27 Diagnostic Messages
  • 28 GNU Free Documentation License
  • 29 Built-in Functions
  • 30 Document Revision History
  • Microchip Information

11.3 Variables in Program Space

The DSC core families of processors contain hardware support for accessing data located in Program Flash.

The devices use a hardware feature called Program Space Visibility (PSV). More detail about how PSV works can be found in device data sheets or Family Reference Manuals (see sections 11.3.3 Allocation and Access of Program Memory Objects and 15.7.2 PSV Usage with Interrupt Service Routines).

DS-50003589D

About

Company
Careers
Contact Us
Media Center
Investor Relations
Corporate Responsibility

Support

Microchip Forums
AVR Freaks
Design Help
Technical Support
Export Control Data
PCNs

Quick Links

microchipDIRECT.com
Microchip University
myMicrochip
Blogs
Reference Designs
Parametric Search
Microchip Logo

Microchip Technology Inc.

2355 West Chandler Blvd.

Chandler, Arizona, USA

Microchip Facebook
Microchip LinkedIn
Microchip Twitter
Microchip Instagram
Microchip Weibo

© Copyright 1998-2024 Microchip Technology Inc. All rights reserved. Shanghai ICP Recordal No.09049794

Terms Of Use
Privacy Notice
Legal
Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon