English
Language : 

PIC18F1XK22 Datasheet, PDF (275/388 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC18F1XK22/LF1XK22
FIGURE 22-4:
EXTERNAL BLOCK TABLE READ (EBTRn) DISALLOWED
Register Values
TBLPTR = 0008FFh
Program Memory
000000h
0007FFh
000800h
Configuration Bit Settings
WRTB, EBTRB = 11
WRT0, EBTR0 = 10
PC = 003FFEh
TBLRD*
001FFFh
002000h
003FFFh
004000h
005FFFh
006000h
WRT1, EBTR1 = 11
WRT2, EBTR2 = 11
WRT3, EBTR3 = 11
007FFFh
Results: All table reads from external blocks to Blockn are disabled whenever EBTRn = 0.
TABLAT register returns a value of ‘0’.
FIGURE 22-5:
EXTERNAL BLOCK TABLE READ (EBTRn) ALLOWED
Register Values
Program Memory
000000h
0007FFh
000800h
Configuration Bit Settings
WRTB, EBTRB = 11
TBLPTR = 0008FFh
WRT0, EBTR0 = 10
PC = 001FFEh
TBLRD*
001FFFh
002000h
003FFFh
004000h
005FFFh
006000h
007FFFh
WRT1, EBTR1 = 11
WRT2, EBTR2 = 11
WRT3, EBTR3 = 11
Results: Table reads permitted within Blockn, even when EBTRBn = 0.
TABLAT register returns the value of the data at the location TBLPTR.
 2010 Microchip Technology Inc.
Preliminary
DS41365D-page 275