| Electronic Components Datasheet Search |
|
AD7142 Datasheet(PDF) 27 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7142 Datasheet(HTML) 27 Page - Analog Devices |
|
27 / 68 page ![]() AD7142 Rev. 0 | Page 27 of 68 GPIO INT OUTPUT CONTROL The INT output signal can be controlled by the GPIO pin when the GPIO is configured as an input. The GPIO is configured as an input by setting the GPIO_SETUP bits in the interrupt configuration register to 01. See the GPIO section for more information on how to configure the GPIO. Enable the GPIO interrupt by setting the GPIO_INT_EN bit in Register 0x007 to 1, or disable the GPIO interrupt by clearing this bit to 0. The GPIO status bit in the conversion complete interrupt status register reflects the status of the GPIO interrupt. This bit is set to 1 when the GPIO has triggered INT. The bit is cleared on readback from the register, provided the condition that caused the interrupt has gone away. The GPIO interrupt can be set to trigger on a rising edge, falling edge, high level, or low level at the GPIO input pin. Table 14 shows how the settings of the GPIO_INPUT_CONFIG bits in the interrupt enable register affect the behavior of INT. Figure 38 to Figure 41 show how the interrupt output is cleared on a read from the CDC conversion complete interrupt status register. GPIO INPUT INT OUTPUT SERIAL READBACK GPIO INPUT INT OUTPUT 1 NOTES 1. READ GPIO_STATUS REGISTER TO RESET INT OUTPUT. GPIO INPUT HIGH WHEN REGISTER IS READ BACK GPIO INPUT LOW WHEN REGISTER IS READ BACK Figure 38. INT Output Controlled by the GPIO Input Example, GPIO_SETUP = 01, GPIO_INPUT_CONFIG = 00 GPIO INPUT INT OUTPUT SERIAL READBACK GPIO INPUT INT OUTPUT 1 GPIO INPUT HIGH WHEN REGISTER IS READ BACK GPIO INPUT LOW WHEN REGISTER IS READ BACK NOTES 1. READ GPIO_STATUS REGISTER TO RESET INT OUTPUT. Figure 39. INT Output Controlled by the GPIO Input Example, GPIO_SETUP = 01, GPIO_INPUT_CONFIG = 01 |
|
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 |