English
Language : 

PIC18F-LF1XK50 Datasheet, PDF (306/420 Pages) Microchip Technology – 20-Pin USB Flash Microcontrollers
PIC18F/LF1XK50
FIGURE 24-4:
EXTERNAL BLOCK TABLE READ (EBTRn) DISALLOWED
Register Values
Program Memory
Configuration Bit Settings
TBLPTR = 0008FFh
000000h
0007FFh
000800h
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 24-5:
EXTERNAL BLOCK TABLE READ (EBTRn) ALLOWED
Register Values
TBLPTR = 0008FFh
Program Memory
000000h
0007FFh
000800h
Configuration Bit Settings
WRTB, EBTRB = 11
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.
DS41350E-page 306
Preliminary
 2010 Microchip Technology Inc.