| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MRF24J40-I/T bảng dữ liệu(PDF) 91 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MRF24J40-I/T bảng dữ liệu(HTML) 91 Page - Microchip Technology |
|
91 / 156 page ![]() © 2010 Microchip Technology Inc. Preliminary DS39776C-page 91 MRF24J40 3.3 Interrupts The MRF24J40 has one interrupt (INT) pin 16 that signals one of eight interrupt events to the host microcontroller. The interrupt structure is shown in Figure 3-1. Interrupts are enabled via the INTCON (0x32) register. Interrupt flags are located in the INTSTAT (0x31) register. The INTSTAT register clears-to-zero upon read. Therefore, the host microcontroller should read and store the INTSTAT register and check the bits to determine which interrupt occurred. The INT pin will continue to signal an interrupt until the INTSTAT register is read. The edge polarity of the INT pin is configured via the INTEDGE bit in the SLPCON0 (0x211<1>) register. Note 1: The INTEDGE polarity defaults to: 0 = Falling Edge. Ensure that the inter- rupt polarity matches the interrupt pin polarity of the host microcontroller. 2: The INT pin will remain high or low, depending on INTEDGE polarity setting, until INTSTAT register is read. FIGURE 3-1: MRF24J40 INTCON.SLPIE INTSTAT.SLPIF INTCON.WAKEIE INTSTAT.WAKEIF INTCON.HSYMTMRIE INTSTAT.HSYMTMRIF INTCON.SECIE INTSTAT.SECIF INTCON.RXIE INTSTAT.RXIF INTCON.TXG2IE INTSTAT.TXG2IF INTCON.TXG1IE INTSTAT.TXG1IF INTCON.TXNIE INTSTAT.TXNIF INT SLPCON0.INTEDGE INTERRUPT LOGIC TABLE 3-3: REGISTERS ASSOCIATED WITH INTERRUPTS Addr. Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x31 INTSTAT SLPIF WAKEIF HSYMTMRIF SECIF RXIF TXG2IF TXG1IF TXNIF 0x32 INTCON SLPIE WAKEIE HSYMTMRIE SECIE RXIE TXG2IE TXG1IE TXNIE 0x211 SLPCON0 r r r r r r INTEDGE SLPCKEN |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |