~q e%~~ " ~'" l(,~ ~~vq ~~vq AOORESS BIT ;J"~ FlGURI! 4 - Mcaa153 REGISTIR MODEl. /~ ~ f!f'. «, "'~ ....,«,~ ~~...., ~"cr(J ~...., -t ~...., ~~ ;J"~ #- ~~ ~V; ~V; !
" «, ~ ~ ~ A3 A2 A1 « 0 0 I 0 I F I FAC I x/IN I IRE IIRAC I L2 I L1 I LO I CONTIIOL REGISTER a 0 0 I 1 I F I FAC I x/IN I IRE IIRAC I L2 I L1 I LO I CONTIIOL REGISTER 1 a 1 I 0 I F I FAC I x/IN I IRE IIRAC I L21 L1 LO I CONTIIOL REGISTER ·2 , 1 , I , I F I FAC lX/IN IRE ilRACi L21 Ll LO i CONTIIOL REGISTER 3 , I 0 I a I V7 I va I v5 V4 I V3 i V2 I VI I VO I VECTOR REGISTER 0 , I a I 1 I V7 I va I V5 ' V4 I V3 I V2 I VI VO I VECTOR REGISTER , , , I 0 I V7 I va I V!i V4 I V3 I V2 I VI VO i VECTOR REGISTER 2 , I I V7 I V4 I V3 I V2 l VO r VECTOR REGISTER 3 , , va I V!i VI , , , 7 8 5 4 3 2 a REGISTER I REGISTER BI..:..T ______ L ________ :..;.NA:....;;.:,IҐ1;,:E ________ _ REGI5nR DESCRIPTION The MeSa, 53 contains a programmable read/write registers.
There are four control registers (CliO - ClI3) that govern operation of the device. The other four (YRO - VR3) are vector registers that contain the vector data used during an interrupt acknowledge cycle. Figure 4 illustrates the device register model. clearing IRE disables the interrupt request. To re- enable the interrupt associated with this register. IRE must be set again by writing to the control register. 4. Externallintemal (XiIN) - Bit 5 of the control register determines the response of the MCSa'53 during an interrupt acknowledge cycle. If the XiiN bit is clear (low level) the 31M wiil respond with vector data~d a DTACK signal. i.e .. an internal response. If Xi"IN is set.
the vector is not supplied and no DTACK is given by the BIM. i.e an external device should respond. CONTROL REGISTERS There is a control register for each interrupt sourca. i.e eRO controls INTO. ClI, controls INT'. etc. The con- trol registers are divided into several fields: 5. Flag ·(F) - Bit 7 is a flag that can be used in con· junction with the test and set InstructIon of the MCSaOOO. It can be changed Without affecting chiC operation. It is useful for processor-to-Qrocessor communication and resource allocation. 1. Interrupt level (Ll. L 1. LO) - The least significant 3-bit field of the register determines the level at which an interrupt will be generated:
L2 Ll LO o 0 0 o 0 1 o 0 o 1 1 o 0 o 1 1 0 1 , IRO LEVEL DISABLED S. Flag Auto-Clear (FAC) -If FAC IBit 6) is set. the Flag bit is automatically cleared during an interrupt ac· knowledge cycle. IRO' IRQ2 IRaJ IR04 IROS IROS IR07 VECTOR REGlsnRS Each interrupt input has its own associated veC!or register. Each register is a bits wide and supplies a aata byte during its interrupt ack~wledge evcle if the as- sociated Extemallinternal (XiIN) control register bit IS clear. This data can be status. identification. or address information depending on system usage. The Infor- mation is programmed by the system user. A value ot zero in the field disables the interrupt. 2.
Interrupt Enable (lRE)- This field (Bit 4) must be set (high level) to enable the bus interrupt request as- sociated with the control register. Thus. if the INTX line is asserted and IRE is cleared. no interrupt re- quest (IROX) will be asserted. DEVICE RESET When the MC6S' 53 is reset. the registers are set ~o 3 known condition. The control registers are set to 31i zeros (low). The vector registers are set to SOF ThiS value is the MC6S000 vectorfor an uninitialized interruot vector. '--------.. ® MOTOROLA Semiconductor Products Inc. 3. Interrupt Auto-Clear (lRACl - If the IRAC is set (Bit 3). IRE (Bit 4) is cleared during an interrupt acknowl- edge cycle responding to this request.
This action of