Jump to main content
MPLAB XC8 C Compiler User’s Guide for PIC MCU
MPLAB XC8 C Compiler User’s Guide for PIC MCU
  1. Home
  2. 5 C Language Features
  3. 5.4 Memory Allocation and Access
  4. 5.4.5 Variables in EEPROM
  5. 5.4.5.4 EEPROM Access Macros

  • Notice to Development Tools Customers
  • 1 Preface
  • 2 Compiler Overview
  • 3 How Tos
  • 4 Command-line Driver
  • 5 C Language Features
    • 5.1 C Standard Compliance
    • 5.2 Device-Related Features
    • 5.3 Supported Data Types and Variables
    • 5.4 Memory Allocation and Access
      • 5.4.1 Address Spaces
      • 5.4.2 Objects in Data Memory
      • 5.4.3 Objects in Program Space
      • 5.4.4 Absolute Variables
      • 5.4.5 Variables in EEPROM
        • 5.4.5.1 EEPROM Variables
        • 5.4.5.2 EEPROM Initialization
        • 5.4.5.3 EEPROM Access Functions
        • 5.4.5.4 EEPROM Access Macros
      • 5.4.6 Variables in Registers
      • 5.4.7 Dynamic Memory Allocation
      • 5.4.8 Memory Models
    • 5.5 Operators and Statements
    • 5.6 Register Usage
    • 5.7 Stacks
    • 5.8 Functions
    • 5.9 Interrupts
    • 5.10 Main, Runtime Startup and Reset
    • 5.11 Libraries
    • 5.12 Mixing C and Assembly Code
    • 5.13 Optimizations
    • 5.14 Preprocessing
    • 5.15 Linking Programs
  • 6 Macro Assembler
  • 7 Linker
  • 8 Utilities
  • 9 Library Functions
  • 10 Error and Warning Messages
  • 11 Implementation-Defined Behavior
  • 12 Document Revision History
  • Microchip Information

5.4.5.4 EEPROM Access Macros

Macro versions of the EEPROM access functions are also provided (described in EEPROM_READ Macro and EEPROM_WRITE Macro).

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