Intelligent Eight-Channel Communications Controller
—
CD1865
Datasheet
111
9.3.4
Transmit Data Register
When servicing a Transmit Data Service Request, the Transmit Data register accesses the Transmit
FIFO of the service-requesting channel. Data is written to the Transmit Data register by the host;
the CD1865 automatic FIFO pointer mechanism places the data into the service-requesting
channel
’
s Transmit Character FIFO. Up to 8 bytes of data may be written into the TDR during
Transmit Data Service Request.
Any attempt to read from this register causes unpredictable results.
9.3.5
End-of-Service Request Register
This is a dummy register, and must be written to by the host
’
s service request routine to signal to
the CD1865 that the current service-request service is concluded. This must be the last access to the
CD1865 during a service-request routine. Writing to this register generates an internal End Of
Service signal, which
‘
pops
’
the CD1865
’
s service-request-context stack, allowing the CD1865 to
resume normal processing and also service other channels. Service-request contexts may be nested,
as explained in
Section 5.4
; that is, one can respond to and service a higher-priority event while in
the middle of a lower-priority service request routine (nesting subroutine calls within other
subroutines).
Any attempt to read from this register causes unpredictable results.
9.4
Channel Registers
There are eight sets of Channel registers, but only one set is available at any given time. This offers
the software-simplifying advantage that a given register is at the same address regardless of the
channel number. To access a given channel
’
s registers, first point to them by writing the channel
number to the Channel Access register.
Register Name:
Register Description: Transmit Data Register
Default Value: 0
Access: Write Only
Bit 7
Bit 6
8-Bit Hex Address: $7B
Intel Hex Address: $F6
Motorola Hex Address: $F7
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
D7
D6
D5
D4
D3
D2
D1
D0
Register Name:
Register Description: End-of-Service Request Register
Default Value: 0
Access: Write Only
Bit 7
Bit 6
8-Bit Hex Address: $7F
Intel Hex Address: $FE
Motorola Hex Address: $FF
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Irrelevant Value