-
-
Notifications
You must be signed in to change notification settings - Fork 2
programread
Anobium edited this page Jun 18, 2023
·
2 revisions
Syntax:
ProgramRead (location, store)
or for the 18FxxQ41 family of chips use:
PFMRead (location, store)
Command Availability:
Available on all Microchip PIC microcontrollers with self write capability. Not available on Atmel AVR at present.
Explanation:
ProgramRead reads information from the program memory on chips that
support this feature. location and store are both word variables,
meaning that they can store values over 255.
The largest value possible for location depends on the amount of
program memory on the Microchip PIC microcontroller, which is given on
the datasheet. store is 14 bits wide, and thus can store values up to
16383.
This is an advanced command which should only be used by advanced developers.
For more help, see ProgramErase and ProgramWrite