English
Language : 

PIC18F2331 Datasheet, PDF (287/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
FIGURE 22-7:
EXTERNAL BLOCK TABLE READ (EBTRn) DISALLOWED
Register Values
TBLPTR = 0002FFh
Program Memory
000000h
0001FFh
000200h
Configuration Bit Settings
WRTB,EBTRB = 11
WRT0,EBTR0 = 10
PC = 000FFEh
TBLRD *
0007FFh
000800h
000FFFh
001000h
0017FFh
001800h
WRT1,EBTR1 = 11
WRT2,EBTR2 = 11
WRT3,EBTR3 = 11
001FFFh
Results: All table reads from external blocks to Blockn are disabled whenever EBTRn = ‘0’.
TABLAT register returns a value of ‘0’.
FIGURE 22-8:
EXTERNAL BLOCK TABLE READ (EBTRn) ALLOWED
Register Values
Program Memory
000000h
0001FFh
000200h
Configuration Bit Settings
WRTB,EBTRB = 11
TBLPTR = 0002FFh
WRT0,EBTR0 = 10
PC = 0007FEh
TBLRD *
0007FFh
000800h
000FFFh
001000h
0017FFh
001800h
WRT1,EBTR1 = 11
WRT2,EBTR2 = 11
WRT3,EBTR3 = 11
001FFFh
Results: Table reads permitted within Blockn, even when EBTRBn = ‘0’.
TABLAT register returns the value of the data at the location TBLPTR.
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 285