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

MCb823L8·MC68230L 10 The primary focus of most applications will be on Ports A and B, the handshake pins, the port interrupt pins, and the DMA request pin They are controlled in the following way: the Port General Control Register contains a 2-bit field that specifies a set of four operation modes. These govern the overall operation of the ports and determine their interrela- tionships Some modes require additional information from each port's control register to further define Its operation. In each port control register, there is a 2-blt submode field that serves this purpose.

Each port mode/submode combination specifies a set of programmable characteristics that fully define the behavior of that port and two of the handshake pins. This structure IS summarized in Table 2 and Figure 10. PORT CONTROL STRUCTURE TABLE 2 - PORT MODE CONTROL SUMMARY Mode 0 (Unidirectional 8-Blt Model Port A Submode 00 - Double-Buffered Input H 1 Latches Input data H2 - Status/,nterrupt generating Input.

general-purpose output, or operation with H1 In ·the Interlocked or pulsed Input handshake protocols Submode 01 - Double-Buffered Output H1 Indicates data received by peripheral H2 - Status/,nterrupt generating Input, general-purpose output, or operation with H1 In the Interlocked or pulsed output handshake protocols Submode 1X - Bit 1/0 H 1 Status/ Interrupt generating Input H2 - Status/,nterrupt generating Input or general-purpose output Part B, H3 and H4 - Identical to Port A, H1 and H2 FIGURE 10 - PORT MODE LAYOUT Mode 1 (Unidirectional 16· Bit Model Port A - Double-Buffered Data IMost significant I Submode XX Inot uSed) Mudp 0 SulHlIlllit- 00 Modt:

0 SubfTlotlt' 1 X H 1 Status/,nterrupt generating Input H2 - Status/interrupt generating Input or general pUlpose output Port B - Double- Buffered Data I Least Slgn,f,cantl Submode XO - Unldrrectlonal 16 Bit Input A (81 8 HI 'H31 H21H41 HI IH31 H2 1 H.lJ H3 - Latches Input data H4 - Status/lnterrupt generating Input. gene'alpurpose output, or operation with H3 ,n the InlRrlockerj or pulsed Input handshake protocols Submode Xl - Unldrrectlonal 16-Blt Output H3 Indicates data received by peripheral H4 - Status/lnterrupl genelatlng Inpul. generalp,,,pose output.

or operallon with H3 In the 'nlerlockerJ or pulsed outpul handshake p'ulOcols \\:JI' I P .\ .l1,d H 1(\1 Mode 2 IB,drrecllonal 8-Blt Model Port A .- Bit 1/0 IWlth no hanlishak'"g plnsl Submode XX InOl usedl Port B - Bldrrectlonal 8B,t Data IDouble B"tlr:re(jl Submode XX Inot usedl H1 - Indlcales output oilta rf;ceiveo bv pe"pllpra l HJ handshake protocols H3 - Latches Input datil H4 Operation With H3 ,n thf' ,nterlockpd 0' DlI,,~e(j '''1: .. 1 H2 .- Operdt1on With Hl In the Irqeriocked or pu1c;pc1 ')'J~pul 0 .

lh HI handshake protOcolS Mode 3 IB,drrectlonal 16-Blt Model Port A - Double-Buffered Data IMosl Signoilcdroll Submode XX Inot usedl Port B - Double-Buffered Data ILeast slg~,ilcantl Submode XX Inot usedl HI - Indicates output data received bv pe"pheral H2 Operation With H 1 ,n the Interlocked or pulspd output handshake prolOcols H3 - Latches Inpu't data H4 - Operation With H3 In the Interlocked or pul,ed ,nput handshake prOlOcols .~ " . t· H d·: MOTOROLA Semiconductor Products Inc. 12