Download Manual
Transcript
4 .5 INTERRUPT REQUESTS Three types of interrupt requests (IRQ) can be generated by the Western Avionics IIB-1553-PMC board: • IRQ-L and IRQ-H (low priority and high priority) are synchronisation interrupts, defined as follows: • • • By instructions in the BC instruction list. In message descriptor block to report on bus events detection. In data descriptor block to signal the transmission of a message. • IRQ-M is a data message interrupt and occurs only when the transmission of a data buffer is correct and the requesting bit is set in the data descriptor block. It can also be programmed to occur with the last message of a set of 2 to 16 messages (set of messages option). When setting an IRQ the Western Avionics IIB-1553-PMC board pushes a vector code into queues, each code defines the event origin of the IRQ. Each queue must start at an address multiple of 200H. The user must manage the reading pointer, and erase with a 0000H value, the codes after reading. 4 .5 .1 Interrupt Coding 1. LO and HI priority interrupts (two words): Messages without error : Messages with error : Event without RETRY : BC Event with RETRY : Send Interrupt (SITL/SITH) : 2. 0800H, DDB Address 0C00H, DDB Address BC l000H, Status Queue Address 4000H, Status Queue Address 2000H, SITL/SITH Vector Message Interrupts (one word): Message Interrupt Code from DDB (Only if Message is Good) 4 .5 .2 Set Message Interrupts When in a DDB, bit 12 of the option mask word is set: • The 10th word gives a set of message numbers (00H to FFH). • The 12th word gives a message indicator. • For each set, the on-board processor manages a set word register; • • • • It makes an "OR" with the message indicator in the set word register. Then if the set word register is equal to FFFFH, the on-board processor sends a message interrupt code defined in the 9th word of the DDB, and resets the set word register. It is possible to define sets from 2 to 16 messages. The user initialises at 0 the set of messages table. The 256 word set of messages table is pointed to by the set of Messages Start Address (26H in Base registers). UM 10974 Rev B 41