FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual

FIGURE 11 - DOUBLE-BUFFERED INPUT TRANSFERS Read Read Port Data H1(H3) H21H4) Interlocked H21H4) Pulse Double-Buffered Output Transfers - The PI/T supports double-buffered output transfers in all modes. Data, written by the bus master to the PI/T, is stored In the port's output latch. The peripheral accepts the data by asserting H11H3), which causes the next data to be moved to the pott's output latch as soon as it is available. The function of H21H4) is pro- grammable; it may indicate whether new data has been mov- ed to the output latch or It may serve other purposes. The H1SIH3S) status bit may be programmed for two Interpreta- tions.

Normally the status bit IS a 1 when there IS at least one latch In the double-buffered data path that can accept new data. After writing one byte/word of data to the ports, an in- terrupt service routine could check thiS bit to determine If It could store another byte/word; thus, filling both latches. When the bus master IS finished, it IS often useful to be able to check whether all of the data has been transferred to the per'pheral The HIS I H3S) Status Control bit 91 the Port A and B Control Registers provide thiS fleXibility The program- mable options of the H21H4) pin are-given below, depending on the mode. 4. H21H4) may be an output pin in' the interlocked out- put handshake protocol.

H21H4) is asserted two clock cycles after data is transferred to the double- buffered output latches The data remains stabJe and H21H4) remains asserted until the next asserted edge of the HlIH3) input. At that time, H21H4) IS asyn· chronously negated. As soon as the next data IS available, It is transferred to the output latches. When H21H4) IS negated, asserted tranSitions on H 1 I H3) have no effect on the data paths. As IS ex· plalned later, however, in Modes 2 and 3 they do control the three-state output buffers of the bidirec- tional portis) The H2SIH4S) status bit IS always 0 When H12 Enable IH34 Enable) is 0, H21H4) IS held negated. 5.

H21H4) may be an output pin In the pulsed output handshake protocol. It is asserted exactly as In the Interlocked output protocol above, but never re- mains asserted longer than four clock cycles TYPically, a four clock pulse IS generated But In the case that a subsequent H11H3) asserted edgp, occurs before termination of the pulse, H21H4) IS negated asynchronously shortening the pulse. The H2SIH4Si H21H4) may be an edge-sensitive Input pin indepen- dent of HlIH3) and the transfer of port data. On the asserted edge of H21H4), the H2SIH4S) status bit IS set.

It IS reset by the direct method Irefer to Direct Method of Resetting Status), the RESET pin being asserted, or when the H 12 Enable I H34 Enable) bit of the Port General Control Register IS 0 IS 0 H21 H41 IS held negated. status bit IS always 0 When H 12 Enable I H34 Enablel A sample timing diagram IS shown In Figure 12 The H21 H41 Interlocked and pulsed output handshake protocols are shown The DMAREQ pin IS also shown assuming It IS enabled. All handshake pin sense bits are assumed to be 0, . thus, the pins are In the low state when asserted Due to the great Similarity between modes, thiS timing diagram IS ap· pllcable to all double-buffered output transfer. 2.

H21H4) may be a general-purpose output pin that IS always negated. The H2SIH4S) status bit IS always 0 3 H21 H4) may be a general-purpose output pin that IS always asserted The H2S I H4S) status bit IS always o FIGURE 12 - DOUBLE-BUFFERED OUTPUT TRANSFERS Write Write Port Data H21H41 Interlocked H21H4) Pulse HlIH3) .~ MOTOROLA Semiconductor Products Inc. 'C.Y 14