| Electronic Components Datasheet Search |
|
ADT7490 Datasheet(PDF) 27 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADT7490 Datasheet(HTML) 27 Page - Analog Devices |
|
27 / 76 page ![]() ADT7490 Rev. 0 | Page 27 of 76 SMBALERT Interrupt Behavior The ADT7490 can be polled for status, or an SMBALERT interrupt can be generated for out-of-limit conditions. It is important to note how the SMBALERT output and status bits behave when writing interrupt handler software. STICKY STATUS BIT HIGH LIMIT TEMPERATURE CLEARED ON READ (TEMP BELOW LIMIT) TEMP BACK IN LIMIT (STATUS BIT STAYS SET) SMBALERT Figure 31. SMBALERT and Status Bit Behavior Figure 31 shows how the SMBALERT output and sticky status bits behave. Once a limit is exceeded, the corresponding status bit is set to 1. The status bit remains set until the error condi- tion subsides and the status register is read. The status bits are referred to as sticky, because they remain set until read by software. This ensures that an out-of-limit event cannot be missed if software is polling the device periodically. Note that the SMBALERT output remains low for the entire duration that a reading is out of limit and until the status register has been read. This has implications on how soft- ware handles the interrupt. Handling SMBALERT Interrupts To prevent the system from being tied up servicing interrupts, it is recommend to handle the SMBALERT interrupt as follows: 1. Detect the SMBALERT assertion. 2. Enter the interrupt handler. 3. Read the status registers to identify the interrupt source. 4. Mask the interrupt source by setting the appropriate mask bit in the interrupt mask registers (0x74, 0x75, 0x82, and 0x83). 5. Take the appropriate action for a given interrupt source. 6. Exit the interrupt handler. 7. Periodically poll the status registers. If the interrupt status bit has cleared, reset the corresponding interrupt mask bit to 0. This causes the SMBALERT output and status bits to behave as shown in Figure 32. Masking Interrupt Sources The interrupt mask registers allow individual interrupt sources to be masked out to prevent SMBALERT interrupts. Note that masking an interrupt source prevents only the SMBALERT output from being asserted; the appropriate status bit is set normally see Figure 32. Full details of the status and mask registers associated with each measurement channel are detailed in Table 20 and Table 24. STICKY STATUS BIT HIGH LIMIT TEMPERATURE CLEARED ON READ (TEMP BELOW LIMIT) TEMP BACK IN LIMIT (STATUS BIT STAYS SET) INTERRUPT MASK BIT SET SMBALERT INTERRUPT MASK BIT CLEARED (SMBALERT REARMED) Figure 32. How Masking the Interrupt Source Affects SMBALERT Output Enabling the SMBALERT Interrupt Output The SMBALERT interrupt function is disabled by default. Pin 10 or Pin 14 can be reconfigured as an SMBALERT output to signal out-of-limit conditions. Table 21. Configuring Pin 10 as SMBALERT Output Register Bit Setting Configuration Register 3 (Register 0x78) Bit 0 [1] Pin 10 = SMBALERT [0] Pin 10 = PWM2 (default) Assigning THERM Functionality to a Pin Pin 14 on the ADT7490 has three possible functions: SMBALERT, THERM, and TACH4. The user chooses the required functionality by setting Bit 0 and Bit 1 of Configuration Register 4 at Address 0x7D. If THERM is enabled (Bit 1, Configuration Register 3 at Address 0x78): • Pin 22 becomes THERM. • If Pin 14 is configured as THERM (Bit 0 and Bit 1 of Configuration Register 4 at Address 0x7D), THERM is enabled on this pin. If THERM is not enabled: • Pin 22 becomes a 2.5 VIN measurement input. • If Pin 14 is configured as THERM, THERM is disabled on this pin. Table 22. Configuring Pin 14 in Register 0x7D Bit 0 Bit 1 Function 0 0 TACH4 0 1 THERM 1 0 SMBALERT 1 1 Reserved |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |