English
Language : 

PIC18F2331_07 Datasheet, PDF (289/400 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
001FFFh
WRT1, EBTR1 = 11
WRT2, EBTR2 = 11
WRT3, EBTR3 = 11
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
001FFFh
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.
© 2007 Microchip Technology Inc.
Preliminary
DS39616C-page 287