| Electronic Components Datasheet Search |
|
ST92F124 Datasheet(PDF) 365 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F124 Datasheet(HTML) 365 Page - STMicroelectronics |
|
365 / 429 page ![]() 365/429 10-BIT ANALOG TO DIGITAL CONVERTER (ADC) ANALOG TO DIGITAL CONVERTER (Cont’d) Figure 158. Application Example: Analog Watchdog used in Motor Speed Control 10.11.4 Interrupts The ADC provides two interrupt sources: – End of Conversion – Analog Watchdog Request The ADC Interrupt Vector Register (IVR, R255 Page 63) provides hardware generated flags which indicate the interrupt source, thus allowing the automatic selection of the correct interrupt service routine. The ADC Interrupt vector should be programmed by the user to point to the first memory location in the Interrupt Vector table containing the base ad- dress of the four byte area of the interrupt vector table in which the address of the ADC interrupt service routines are stored. The Analog Watchdog Interrupt Pending bit (AWD, ICR.6) is automatically set by hardware whenever any of the two guarded analog inputs go out of range. The Compare Result Register (CRR) tracks the analog inputs which exceed their programmed thresholds. When two requests occur simultaneously, the An- alog Watchdog Request has priority over the End of Conversion request, which is held pending. The Analog Watchdog Request requires the user to poll the Compare Result Register (CRR) to de- termine which of the four thresholds has been ex- ceeded. The threshold status bits are set to flag an out of range condition, and are automatically reset by hardware after a software reset of the Analog Watchdog Request flag in the ICR Register. The interrupt pending flags, ECV and AWD, should be reset by the user within the interrupt service rou- tine. Setting either of these two bits by software will cause an interrupt request to be generated. Analog Watch- dog Re- quest 70 Lower Word Address XX XX XX 0 0 End of Conv. Request 70 Upper Word Address XX XX XX 1 0 9 |
|
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 |