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

MC68230LSeMCf)8230L 10 programmer dUring Initialization. The Port General Control Register contains two bitS, H12 Enable and H34 Enable, which control these functions. These bits are cleared to the 0 state when the RESET Pin IS asserted, and the functions are disabled. The functions are the follOWing: PORT MODES This section contains information that distingUishes the various port modes and submodes.

General characteristics, common to all modes, have been defined previously 1 Independent of other actions by the bus master or perlpher31 IVla the handshake pins), the PIIT's disabled handshake controller IS held to the "empty" state, I.e , no data IS present In the double-buffered data path MODE 0 - UNIDIRECTIONAL B-BIT MODE In Mode 0, Ports A and B operate Independently Each may be configured In any of ,ts three possible submodes 2 When any handshake pin IS used to set a simple status flip-flop, unrelated to double buffered transfers, these flip-flops are held reset to ° ISee Table 2.) Submode 00 - Double-Buffered Input 3 When H21H4) IS used In an Interlocked or pulsed hand- shake With H lIH3), H21H4) is held negated, regardless of the chosen mode, submode, and primary direction.

Thus, for double-buffered Input transfers, the pro- grammer may signal a peripheral when the PlfT is ready to begin transfers by setting the associated handshake enable bit to 1 Submode lX - Bit 1/0 Handshake pins Hl and H2 are associated with Port A and configured by programming the Port. A Control Register !The H12 Enable bit of the Port General Control Register enables Port A transfers I Handshake pinS H3 and H4 are associated with Port B and configured by programming the Port B Control Register. IThe H34 Enable bit of the Port General Control Register enables Port B transfers) The Port A and B Data Direction Registers operate In all three sub modes.

Along With the sub mode, they affect the data read and written at the associated data register according to Table 4 They also enable the output buffer associated With each Submode 01 - Double-Buffered Output The Port A and B Alternate Registers - In addition to the Port A and B Data Registers, the PlfT contains Port A and B Alternate Registers These registers are read-only, and Simply provide the Instantaneous level of each port pin They hillie no elfect 00 the operation of the handshake pinS, (iuuble tlldlered transfers, status bitS, or any other aspect of trle PI T dnd they are model submode Independent port pin The DMAREO pin may be associated With either inot both) Port A or Port B, but does not lunctlon II the Bit 1/0 submode IS programmed for the chosen port TABLE 4 - MODE 0 PORT DATA PATHS Read Port AI B Write Port AI B Mode Data Register Data Register DDR -0 1 DDR-1 DDR- X o Submode 00 FIL.

0 B FOL Note 3 FOL. S B Note 1 o Submode 01 Pin FOL Note 3 IOli FOL.

0 B Note 2 o Submode 1 X Pin FOL Note 3 FOL, S B Note 1 I AbbreViations IOL - Initial Output Latch S B - Single Buffered FOL - Final Output Latch DB - Double Buffered FIL - Final Input Latch DDR - Data Direction Register Note 1 Data IS latched In the output data registers output latch I and Will be Single buffered dt the Pin If the DDR IS 1 T tle output buffers will be turned off It the DDR IS 0 Note 2 Data IS latched In the double·buffered output data registers The data In the final output latch Will appear on the port pin" the DDR IS a 1 Note 3 The output drivers that connect the final output latch to the pins are turned on MOTOROLA Semiconductor Products Inc. 16