| 数据搜索系统,热门电子元器件搜索 |
|
ST92F124 数据表(PDF) 191 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F124 数据表(HTML) 191 Page - STMicroelectronics |
|
191 / 429 page ![]() 191/429 MULTIFUNCTION TIMER (MFT) MULTIFUNCTION TIMER (Cont’d) 10.4.2.8 Free Running Mode The timer counts continuously (in Up or Down mode) and the counter value simply overflows or underflows through FFFFh or zero; there is no End Of Count condition as such, and no reloading takes place. This mode is automatically selected either in Bi-capture mode or by setting register REG0R for a Capture function (Continuous mode must also be set). In Autoclear mode, free running operation can be selected, with the possibility of choosing a maximum count value less than 216 before overflow or underflow (see Autoclear mode). 10.4.2.9 Monitor Mode When the RM1 bit in TMR is reset, and the timer is not in Bi-value mode, REG1R acts as a monitor, duplicating the current up or down counter con- tents, thus allowing the counter to be read “on the fly”. 10.4.2.10 Autoclear Mode A clear command forces the counter either to 0000h or to FFFFh, depending on whether up- counting or downcounting is selected. The counter reset may be obtained either directly, through the CCL bit in TCR, or by entering the Autoclear Mode, through the CCP0 and CCMP0 bits in TCR. Every capture performed on REG0R (if CCP0 is set), or every successful compare performed by CMP0R (if CCMP0 is set), clears the counter and reloads the prescaler. The Clear On Capture mode allows direct meas- urement of delta time between successive cap- tures on REG0R, while the Clear On Compare mode allows free running with the possibility of choosing a maximum count value before overflow or underflow which is less than 216 (see Free Run- ning Mode). 10.4.2.11 Bi-value Mode Depending on the value of the RM0 bit in TMR, the Bi-load Mode (RM0 reset) or the Bi-capture Mode (RM0 set) can be selected as illustrated in Figure 38 below: Table 38. Bi-value Modes A) Biload Mode The Bi-load Mode is entered by selecting the Bi- value Mode (BM set in TMR) and programming REG0R as a reload register (RM0 reset in TMR). At any End Of Count, counter reloading is per- formed alternately from REG0R and REG1R, (a low level for BM bit always sets REG0R as the cur- rent register, so that, after a Low to High transition of BM bit, the first reload is always from REG0R). TMR bits Timer Operating Modes RM0 RM1 BM 0 1 X X 1 1 Bi-Load mode Bi-Capture Mode 9 |
|
链接网址 |
| 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 |