English
Language : 

PIC18F2480_09 Datasheet, PDF (365/490 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2480/2580/4480/4580
FIGURE 25-7:
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 = 007FFEh
TBLRD*
003FFFh
004000h
007FFFh
008000h
00BFFFh
00C000h
WRT1, EBTR1 = 11
WRT2, EBTR2 = 11
WRT3, EBTR3 = 11
00FFFFh
Results: All table reads from external blocks to Blockn are disabled whenever EBTRn = 0.
TABLAT register returns a value of ‘0’.
FIGURE 25-8:
EXTERNAL BLOCK TABLE READ (EBTRn) ALLOWED
Register Values
TBLPTR = 0008FFh
PC = 003FFEh
Program Memory
000000h
0007FFh
000800h
TBLRD*
003FFFh
004000h
007FFFh
008000h
00BFFFh
00C000h
00FFFFh
Configuration Bit Settings
WRTB, EBTRB = 11
WRT0, EBTR0 = 10
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.
© 2009 Microchip Technology Inc.
DS39637D-page 365