![](http://datasheet.mmic.net.cn/230000/W65C134S8PL-8_datasheet_15631084/W65C134S8PL-8_9.png)
WESTERN DESIGN CENTER
W65C134S
March 1, 2000
4
1.5
Chip Select Enable Register PCS3)($0007)
1.5.1
PCS is the Port 3 Chip Select Register. The PCS allows each individual chip select to be active or
non-active. When PCS30-PCS37 are equal to a "1", then CS0B to CS7B will be active. When
CS1B is active, the defined memory space for CS3B and/or CS6B is reduced. It is reduced by the
memory space 0100-011F for CS1B. When CS2B is active, the defined memory space for CS3B
and/or CS6B is reduced. It is reduced by the memory space 0120-013F for CS2B.
CS7B is automatically enabled when BCR7=1.
The W65C134S will use the internal RAM as stack when PCS33 and PCS36 are disabled. If PCS33
or PCS36 are enabled then the off chip stack is used.
1.5.2
1.5.3
7
6
5
4
3
2
1
0
CS7B
CS6B
CS5B
CS4B
CS3B
CS2B
CS1B
CS0B
Figure 1-3 Chip Select Enable Register
1.6
The Timers
1.6.1
1.6.2
Upon Timer clock input negative edge the timer low counter is decremented by 1.
When T1 or T2 prescaler mode is enabled, (making timer low counter a divide-by-N+1 prescaler)
then timer low counter is reloaded from timer low latch. Monitor Timer M does not have a prescaler
mode.
A write to the timer low counter writes the timer low latch.
A read of the timer high or low counter reads the timer high or low counter.
Upon Timer clock input negative edge when the timer low counter reaches zero, the timer high
counter is decremented by 1. Upon Timer clock input positive edge, when the timer high counter
reaches zero, this sequence occurs:
1.6.5.1
Timer 1 and 2 set their associated interrupt flag. If the interrupt is enabled the MPU is
then interrupted and control is transferred to the vector associated with the interrupt.
When Timer M times out, the W65C134S is restarted: on-chip logic pulls RESB pin
low for 2 CLK cycles and releases RESB to go high, "restarting" the W65C134S.
1.6.5.2
The timer hi counter is loaded from the timer hi latch, and timer low counter is loaded
from timer low latch.
A write to the Timer 1, 2 or A high counter writes to the timer hi latch and this sequence occurs:
1.6.6.1
The timer hi latch is loaded from data bus.
1.6.6.2
The timer low counter is loaded from the timer low latch, and the timer hi counter is
loaded from the timer hi latch.
Timer M is disabled after RESB and is activated by the first Timer Control Register One (TCR10)
transition from "0" to "1" (the first load of Timer M).
1.6.7.1
The Timer M counter is reloaded with the value in the Timer M latches when the TCR10
bit 0 makes a transition from a "0" to "1". TCR10 transition from a "1" to a "0" has no
effect on the timer.
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7