EasyManuals Logo

Microchip Technology PICkit 3 User Manual

Microchip Technology PICkit 3
102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #95 background imageLoading...
Page #95 background image
Lessons
2012 Microchip Technology Inc. DS41628B-page 95
EXAMPLE 3-55:
When the WR bit is set, it remains set until the write to EEPROM is complete.
3.14.7 C Language
3.14.7.1 BOTH
There are two functions that the XC8 compiler provides, which greatly simplify
EEPROM reads and writes.
EXAMPLE 3-56:
Use this to read and write single bytes from EEPROM.
;REQUIRED SEQUENCE for EEPROM write
movlw 0x55
movwf EECON2
movlw 0xAA
movwf EECON2
bsf EECON1, WR ;begin write
eeprom_read(<addr>)
eeprom_write(<addr>,<value>);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Microchip Technology PICkit 3 and is the answer not in the manual?

Microchip Technology PICkit 3 Specifications

General IconGeneral
BrandMicrochip Technology
ModelPICkit 3
CategoryComputer Accessories
LanguageEnglish

Related product manuals