Electronic Components Datasheet Search |
|
MT8920 Datasheet(PDF) 10 Page - Mitel Networks Corporation |
|
MT8920 Datasheet(HTML) 10 Page - Mitel Networks Corporation |
10 / 24 page MT8920B CMOS 3-12 Interrupt Modes and Servicing Static Interrupt Mode A static interrupt is caused when an incoming byte matches a predefined byte. The incoming byte from a selected channel is stored in Interrupt Image Register (1/2) where it is compared with the contents of the corresponding Match Byte Register. The result of the comparison of individual bits is masked by the contents of the Mask Register (1/2) before it is used to generate an IRQ. After a static interrupt occurs, information in the Interrupt Image Register is frozen until the µP performs a read operation on this register. When servicing static interrupts assertion of IACK will cause the contents of the Vector Register, with the IRQ1 or IRQ2 bit set, to be output on the data bus. The service routine can subsequently clear IRQ by reading the Interrupt Image Register. Alternatively, the IRQRST bit in Control Register 1 can be set to clear the associated interrupt registers. Static Interrupts are selected using IRQ1MODE and IRQ2MODE bits in Control Register 1. Interrupts are then enabled to the IRQ pin with IRQ1EN and IRQ2EN bits of the same register. Dynamic Interrupt Mode A dynamic interrupt is generated by a change of state of bits in a selected channel. A 0 to 1 transition or a 1 to 0 transition or a simple change of state from the previous state (toggle) can be detected. The type of transition to be detected is selected using two bits, one from the Match Byte Register (1/2) and one from the Interrupt Mask Register (1/2), in the corresponding bit positions. Table 5 shows how the two registers are programmed. Table 5 - Dynamic Interrupt Types For example, the following steps are required to generate an interrupt when bit D3 of channel 4 changes state from 0 to 1 (all other bits are masked): (channel 4 of STi0 selected) (When bit D3 toggles 0 to 1) Dynamic interrupts from interrupt path 1 would then be enabled using the Control Register 1. This would cause interrupt 1 path to be enabled while interrupt 2 path is disabled. As with static interrupts, upon serving a dynamic interrupt, assertion of IACK will cause the contents of the Vector Register, with the appropriate path bit set, to be output on the data bus. The information contained in the channel is frozen in the Interrupt Image Register. To clear a dynamic interrupt, however, the µP must read the Interrupt Flag Register of the path responsible for the interrupt to determine which bit caused the interrupt. The bit in the corresponding position will be set to 1 and reading this register will clear its contents. Alternatively, as with static interrupts, the IRQRST bit in Control Register 1 can be set to clear the Image Interrupt Register, Flag Register and path bits in the Vector Register. Dynamic Interrupts are selected using IRQ1MODE and IRQ2MODE bits in Control Register 1 and are enabled using IRQ1EN and IRQ2EN in the same register. MMS Pin Reset The STPA can be RESET in Mode 1 using the MMS pin (27). Applying a low pulse (0V) to MMS after power is applied to the device will reset all control and interrupt registers to 0016. This can be accomplished on power up with a simple R-C circuit as shown in Figure 8. Figure 8 - MMS Reset Function Match Byte Register bit DX Mask Byte Register bit DX Transition Type Detected on Incoming bit DX (x = 0 ....7) 0 0 1 1 0 1 0 1 Mask Bit DX 0 to 1 transition 1 to 0 transition Toggle D7 D6 D5 D4 D3 D2 D1 D0 Channel Address Register 1 = 00000100 Match Byte Register 1 = 00000000 Interrupt Mask Register 1 = 00001000 Control Register 1 = 00000101 VDD R MMS STPA 27 C |
Similar Part No. - MT8920 |
|
Similar Description - MT8920 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |