English
Language : 

Z8S18020FSC Datasheet, PDF (41/70 Pages) Zilog, Inc. – ENHANCED Z180 MICROPROCESSOR
Zilog
Z80180/Z8S180/Z8L180
Enhanced Z180 Microprocessor
is used as a clock input, and is divided by 1, 16, or 64 de- the CKA1 function when bit 0 of the Interrupt Edge register
pending on the DR bit and the X1 bit in the ASEXT register. is 1.
If these bits are not 111 and the BRG mode bit is ASEXT
Table 6. Divide Ratio
1
is 0, then these bits specify a power-of-two divider for the
PHI clock as shown in Table 9.
SS2 SS1 SS0
Divide Ratio
0
0
0
÷1
Setting or leaving these bits as 111 makes sense for a
0
0
1
channel only when its CKA pin is selected for the CKA
÷2
function. CKAO/CKS has the CKAO function when bit 4 of
0
1
0
÷4
the System Configuration Register is 0. DCD0/CKA1 has
0
1
1
÷8
1
0
0
÷16
1
0
1
÷32
1
1
0
÷64
1
1
1
External Clock
ASCI STATUS REGISTER 0, 1 (STAT0, 1)
Each channel status register allows interrogation of ASCI
communication, error and modem control signal status,
and enabling or disabling of ASCI interrupts.
ASCI Status Register 0 (STAT0: I/O Address = 04H)
Bit
7
6
5
4
3
2
1
0
RDRF OVRN PE
R
R
R
FE
RE DCD0 TDRE TIE
R R/W
R
R
R/W
ASCI Status Register 1 (STAT1: I/O Address = 05H)
Bit 7
6
5
4
3
2
1
0
RDRF OVRN PE
R
R
R
FE
RE CTSIE TDRE TIE
R
R/W R/W R
R/W
Figure 35. ASCI Status Registers
RDRF: Receive Data Register Full (bit 7). RDRF is set to
1 when an incoming data byte is loaded into an empty Rx
FIFO. Note that if a framing or parity error occurs, RDRF is
still set and the receive data (which generated the error) is
still loaded into the FIFO. RDRF is cleared to 0 by reading
RDR and last character in the FIFO from IOSTOP mode,
during RESET and for ASCI0 if the /DCD0 input is auto-en-
abled and is negated (High).
OVRN: Overrun Error (bit 6). An overrun condition oc-
curs if the receiver has finished assembling a character but
the Rx FIFO is full so there is no room for the character.
However, this status bit is not set until the last character re-
ceived before the overrun becomes the oldest byte in the
FIFO. This bit is cleared when software writes a 1 to the
EFR bit in the CNTLA register, and also by Reset, in
IOSTOP mode, and for ASCI0 if the /DCD0 pin is auto en-
abled and is negated (High).
Note that when an overrun occurs, the receiver does not
place the character in the shift register into the FIFO, nor
any subsequent characters, until the last good character
has come to the top of the FIFO so that OVRN is set, and
software then writes a 1 to EFR to clear it.
DS971800401
PRELIMINARY
1-41