| 数据搜索系统,热门电子元器件搜索 |
|
ST72F321 数据表(PDF) 63 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72F321 数据表(HTML) 63 Page - STMicroelectronics |
|
63 / 189 page ![]() ST72321 63/189 PWM AUTO-RELOAD TIMER (Cont’d) Output compare and Time base interrupt On overflow, the OVF flag of the ARTCSR register is set and an overflow interrupt request is generat- ed if the overflow interrupt enable bit, OIE, in the ARTCSR register, is set. The OVF flag must be re- set by the user software. This interrupt can be used as a time base in the application. External clock and event detector mode Using the fEXT external prescaler input clock, the auto-reload timer can be used as an external clock event detector. In this mode, the ARTARR register is used to select the nEVENT number of events to be counted before setting the OVF flag. nEVENT = 256 - ARTARR Caution: The external clock function is not availa- ble in HALT mode. If HALT mode is used in the ap- plication, prior to executing the HALT instruction, the counter must be disabled by clearing the TCE bit in the ARTCSR register to avoid spurious coun- ter increments. Figure 41. External Event Detector Example (3 counts) COUNTER t FDh FEh FFh FDh OVF ARTCSR READ INTERRUPT ARTARR=FDh fEXT=fCOUNTER FEh FFh FDh IF OIE=1 INTERRUPT IF OIE=1 ARTCSR READ |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |