| 数据搜索系统,热门电子元器件搜索 |
|
ST7MC1K2 数据表(PDF) 232 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7MC1K2 数据表(HTML) 232 Page - STMicroelectronics |
|
232 / 371 page ![]() Obsolete Product(s) - Obsolete Product(s) On-chip peripherals ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto 232/371 Figure 104. Auto-updated prescaler functional diagram Three kinds of interrupt can be generated in Speed sensor mode, as summarized in Figure 105: ● C interrupt, when a capture event occurs; this interrupt shares resources (mask bit and flag) with the commutation event in switched/autoswitched mode, as these modes are mutually exclusive. ● RPI/RMI interrupts occur when the ST[3:0] bits of the MPSR register are changed, either automatically or by hardware. ● S interrupt occurs when a speed error happens (that is, a successful comparison between [MTIM:MTIML] and [MDREG:FF]). This interrupt has the same channel as the emergency stop interrupt (MCES), as it also warns the user about abnormal system operation. The respective flag bits have to be tested in the interrupt service routine to differentiate speed errors from emergency stop events. These interrupts may be masked individually. Note: Delay manager initialization in speed measurement mode: In order to set-up the [MTIM:MTIML] counter properly before any speed measurement, the following procedure must be applied: 1. The peripheral clock must be disabled (resetting the CKE bit in the MCRA register) to allow write access to ST[3:0], MTIM and MTIML (refer to Table 99) 2. MTIM, MTIML must be reset and appropriate values must be written in the ST[3:0] prescaler adapt to the frequency of the signal being measured and to allow speed measurement with sufficient resolution. Note: MTIML: The least significant byte of the counter (MTIML) is not used when working in position sensor or sensorless modes. Debug option A signal reflecting the capture events may be output on a standard I/O port for debugging purposes. Refer to Debug option on page 219 for more details. Ratio > 0? Ratio = Ratio -1 Counter = 0 Begin End Yes No Capture with [MTIM:MTIML] timer < 5500h Ratio < Fh? Ratio = Ratio + 1 Counter = Counter/2 Begin End Yes No [MTIM:MTIML] timer overflow Slow-down control Speed-up control (MTIM = MTIML = FFh) (MZREG < 55h) Obsolete Product(s) - Obsolete Product(s) |
|
链接网址 |
| 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 |