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

X  

AN977 数据表(PDF) 13 Page - STMicroelectronics

部件名 AN977
功能描述  GUIDELINES FOR UPGRADING FROM THE ST92F120
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN977 数据表(HTML) 13 Page - STMicroelectronics

Back Button AN977 Datasheet HTML 9Page - STMicroelectronics AN977 Datasheet HTML 10Page - STMicroelectronics AN977 Datasheet HTML 11Page - STMicroelectronics AN977 Datasheet HTML 12Page - STMicroelectronics AN977 Datasheet HTML 13Page - STMicroelectronics AN977 Datasheet HTML 14Page - STMicroelectronics AN977 Datasheet HTML 15Page - STMicroelectronics AN977 Datasheet HTML 16Page - STMicroelectronics AN977 Datasheet HTML 17Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 13 / 17 page
background image
13/17
GUIDELINES FOR UPGRADING FROM THE ST92F120 (0.50 µm) TO THE ST92F124...
2.5.2 PWM Mode
A Timer Interrupt can now be generated each time Counter = OC2R:
– To enable it, set OCIE or OC2IE,
– To disable it, reset OCIE AND OC2IE.
2.6 10-BIT ADC
Since the new ADC is entirely different, the program will have to be updated:
– All data registers are 10 bits, which includes the threshold registers. So each register is di-
vided into two 8-bit registers: an upper register and a lower register, in which only the 2 most
significant bits are used:
– The start conversion channel is now defined by bits CLR1[7:4] (Pg63, R252).
– The analog watchdog channels are selected by bits CLR1[3:0]. The only condition is that the
two channels must be contiguous.
– The ADC clock is selected with CLR2[7:5] (Pg63, R253).
– Interrupt registers have not been modified.
Because of the increased length of ADC registers, the register map is different. The location of
the new registers is given in the description of the ADC in the updated ST92F124/F150/F250
Datasheet.
2.7 I²C
2.7.1 IERRP BIT RESET
In the ST92F124/F150/F250 interrupt routine dedicated to the Error Pending event (IERRP is
set), a software loop must be implemented.
This loop checks every flag and executes the corresponding needed actions. The loop will not
end until all flags are reset.
At the end of this software loop execution, the IERRP bit is reset by software and the code
exits from the interrupt routine.
Table 7. DiHR
70
Di.9
Di.8
Di.7
Di.6
Di.5
Di.4
Di.3
Di.2
Table 8. DiLR
70
Di.1
Di.0
00
00
00



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


数据表 下载

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