数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST9 数据表(PDF) 100 Page - STMicroelectronics

部件名 ST9
功能描述  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST9 数据表(HTML) 100 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 96Page - STMicroelectronics ST9 Datasheet HTML 97Page - STMicroelectronics ST9 Datasheet HTML 98Page - STMicroelectronics ST9 Datasheet HTML 99Page - STMicroelectronics ST9 Datasheet HTML 100Page - STMicroelectronics ST9 Datasheet HTML 101Page - STMicroelectronics ST9 Datasheet HTML 102Page - STMicroelectronics ST9 Datasheet HTML 103Page - STMicroelectronics ST9 Datasheet HTML 104Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 100 / 146 page
background image
100/146
ST9 USER GUIDE
isters e.g AD_D0R is made up of AD_D0LR (For lower 2 bits of 10 bits result) and AD_D0HR
(For upper 8 bits of 10 bits result).
The end of conversion sets the ECV bit in the AD_ICR register, and can trigger an interrupt re-
quest, if the ECI bit (mask of the end of conversion interrupt request) of the Interrupt Control
Register (AD_ICR) is set.
Notes
The internal interrupt controller does not automatically reset the ECV bit. It must be reset by the
interrupt service routine prior to returning from interrupt. Failure to do this would cause the in-
terrupt to loop endlessly.
As mentioned in
Section 4.2 on parallel ports, you must configure the corresponding pins to
alternate function both to reduce loading on the analog source and to avoid excessive dissipa-
tion in the pin's input buffer. For the same reason, it is advised to keep this I/O configuration if
an analog voltage is present on the pin, even if it is not being converted at this time.
4.7.2 Analog Watchdog
A special feature of this peripheral is the so-called Analog Watchdog. If enabled, the values of
Channel A or both Channel A and Channel B are each compared after each conversion with
a pair of upper and lower thresholds stored in registers AD_LTAR (AD_LTAHR,AD_LTALR),
AD_UTAR(AD_UTAHR,AD_UTALR) for Channel A, and AD_LTBR(AD_LTBHR,AD_LTBLR),
AD_UTBR(AD_UTBHR,AD_UTBLR) for Channel B. Channel A and Channel B are selected
by CC[3:0] bits in control register AD_CLR1.
If the value is outside the threshold values, the AWD bit of the AD_ICR register is set. This can
trigger an interrupt request if the AWDI bit of the same register is set. To know which of the
four thresholds has been exceeded, the Compare Result Register (CRR) has four bits with
one each corresponding to one of these thresholds. The appropriate bit is set when the
threshold has been exceeded.
Notes:
The AWD bit, like the ECV bit, is not automatically reset by the internal interrupt controller. Thus
it must be reset by the interrupt service routine prior to returning from interrupt. Failure to do this
would cause the interrupt to loop endlessly.
To permit power saving in applications where energy conservation is important, you can power
the ADC on and off so that it only consumes power when used. However when you switch it on,
after a delay of 10 µs first conversion starts. The reset condition is off.
4.7.3 Interrupt Vectoring
Two vectors are dedicated to the ADC: the end of conversion vector and the analog watchdog
vector. This allows these two events to be serviced by two different routines. The vectors used
depends on the state of the W1 bit in the AD_IVR register. This bit is set or reset according to
the source of the interrupt.
However, it may occur that both interrupts are generated simultaneously. In that case, analog
watchdog has Priority over End of Conversion request.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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