Selecting A Window - Intel 8XC196MC User Manual

Table of Contents

Advertisement

4.2.1

Selecting a Window

The window selection register (Figure 4-3) selects a window to be mapped into the top of the low-
er register file.
Table 4-9 provides a quick reference of WSR values for windowing the peripheral SFRs. Table
4-10 on page 4-14 lists the WSR values for windowing the upper register file.
WSR
The window selection register (WSR) maps sections of RAM into the top of the lower register file, in
32-, 64-, or 128-byte increments. PUSHA saves this register on the stack and POPA restores it.
7
W6
Bit
Bit
Number
Mnemonic
7
6:0
W6:0
Table 4-9. Selecting a Window of Peripheral SFRs
Peripherals
Port 2
Waveform generator
Port 7 (MD only)
Peripheral interrupts
Pulse-width modulator
A/D converter
Frequency generator (MD only)
Reset control (MH only)
Port 1 (MH only)
Serial I/O port (MH only)
Timer 1–2
EPA compare 2–3 (MC)
EPA compare 0–5 (MD)
EPA compare 0–2 (MH)
EPA capture/compare 0–3 (MC)
EPA compare 0–1 (MC)
EPA capture/compare 0–5 (MD)
EPA capture/compare 0–1 (MH)
EPA compare 3 (MH)
W5
W4
Reserved; for compatibility with future devices, write zero to this bit.
Window Selection
These bits specify the window size and number. See Table 4-9 on page
4-13 or Table 4-10 on page 4-14. See Table 4-9 for peripheral SFR windows
or Table 4-10 for upper register file windows.
Figure 4-3. Window Selection (WSR) Register
32-byte Window
Get other manuals https://www.bkmanuals.com
W3
W2
Function
WSR Value for
WSR Value for
64-byte Window
(00E0–00FFH)
(00C0–00FFH)
7EH
3FH
7DH
3EH
7CH
7BH
3DH
7AH
MEMORY PARTITIONS
Address:
0014H
Reset State:
00H
W1
W0
WSR Value for
128-byte Window
(0080–00FFH)
1FH
1EH
0
4-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents