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

MC68230LSeMCGB}3()L 10 Note that two additional useful benefits result from this structure. First. it is possible to directly read the state of a dual-function pin while used for the non-Port C function. Se- cond. it is possible to generate program controlled transi- tions on alternate-function pins by switching back to the Port C function. and writing to the PCOR 1 0 1 The dual-function pin PC3/TOUT carries the TOUT function and is used as a timer interrupt request output. The timer interrupt is enabled; thUS. the pin is low when the timer ZOS status bit is 1. The dual function pin PC7/TIACK carries ·the TIACK func- tion and is used as a timer interrupt acknowledge input.

Refer to the Timer Interrupt Acknowledge Cycle section for details. This combination and the 100 state abov~ support vectored timer interrupts. This register is readable and writeable at all times Port Status Register (PSRI - o The dual-function pin PC3ITOUT carries the TOUT 7 6 5 4 3 2 I 0 function. In the run or halt state it is used as a timer interrupt request output. The timer interrupt is disabled; thus, the pin is always three·stated. The dual· function Pin PC71TIACK carnes the PC7 func- tion. The dual-function pin PC3ITOUT carries the TOUT function and IS used as a timer interrupt request output. The timer Interrupt IS enabled; thus. the pin is low when the timer ZOS status bit IS 1.

The dual- function pin PC7 ITIACK carnes the PC7 function and autovectored interrupts are supported H4 H3 H2 HI l.evel Level Level Level H4S H3S H2S HIS The Port Status Register contains information about hand- shake pin activity Bits 7-4 show the Instantaneous level of the respective handshake pin. and IS Independent of the h,lnoshake pin sPllse bits III the Port General Control Register Bit 3·0 iJre the respective. status bits referred to ttirougholJ! thiS oata sheC!

Theil interpretation depends on thl' programmed model submode of the PIIT For Bits 3·0 a I IS the active or asserted Stilll~ TCR Timer Control Register (TCRI 4 Zero Detect Control o The counter IS loaded from the Counter Preload 7 I 6 I 5 4 3 2 I I 0 Register on the fllst clock to the 24-blt counter after zero detect, and resumes counting The counter rolls over on zero detect, then continues counting. TOUTITIACK Z D '* Clock Timer Control Ctrl Control Enable The Timer Control Register ITCRI determines all operations of the timer. Bits 7-5 configure the PC3ITOUT and PC71TIACK pins for Port C. square wave.

vectored Inter· rupt, or autovectored Inter.rupt operation, bit 4 speCifies wt1('thl'r the counter reCPIVl', Odtd from thp Counter Preload Rf'ljlster or contll1lJt!s counting wtH'n lero detect IS reached, bit 3 IS unused and IS read as 0, bits 2 and 1 configure the path from the ClK and TIN PinS to the counter controller; bit o enables the timer ThiS register IS readable and wrlteable at all limes Bit 3 IS unused ~nd IS always read as 0 TCR 2 1 Clock Control o 0 The PC2ITIN input pin carries the Port C function and the ClK pin and prescaler are useci.

The prescaler IS decremented on the failing transition of the ClK pin, the 24-blt counter IS decremented or loaded from the Counter Preload Registers when the prescaler rolls over from $00 to F The Timer Enable bJ! determines whether the timer IS In the run or halt state o 1 The PC2ITIN pin serves as a timer Input and the ClK All bits are cleared to 0 when the RESET pin IS asserted.

pin and prescaler are used The prescaler IS decremented on the failing transition of the ClK pin, the 24·bit counter IS decremented or loaded from the Counter Preload Registers when the prescaler rolls over from $00 to F The timer IS III the run st,ltl' when the Timer Enable bit IS 1 and the TIN pin IS high otherWise the timer IS In the halt state o The PC2ITIN pin serves as a timer Input and the TCR 7 6 5 TOUT/TIACK Control o 0 X 1 he dual·functlon pinS PC3ITOUT and PC71TIACK carry the Port C function o X The dual-function pin PC3ITOUT carnes the TOUT function In the run state It IS used as a square wave output and IS toggled on zero detect.

The TOUT pin IS high while In the halt state The dual· function Pin PC71TIACK carnes the PC7 function 1 0 0 The dual-function pin PC3ITOUT carnes the TOUT prescaler IS used. The prescaler IS decremented follow· Ing the rising tranSition of the TIN pin after syncing With the internal clock. The 24-bit counter IS decremented or loaded from the counter preload registers when the prescaler rolls over from $00 to F The Timer Enable bit determines whether the timer IS in the run or halt state. The PC2ITIN pin serves as a timer Input and the prescaler IS unused.

The 24-blt counter IS decremented or loaded from the Counter Preload Registers follow Ing the rising edge of the TIN pin after syncing With the internal clock. The Timer Enable bit determines whether the timer IS In the run or halt state function. In the run or halt state It IS used as a timer Interrupt request output. The timer interrupt IS disabled; thus, the pin IS always three·stated. The dual· function pin PC71TIACK carries the TlACK function, however, since Interrupt request is negated. the PIIT produces no response. I.e, no data or OT ACK, to an asserted TIACK Refer to Timer Interrupt Cycle section for details.

ThiS com· b,natlon and the 101 state below support vectored timer Interrupts MOTOROLA Semiconductor Products Inc. 27