欢迎访问ic37.com |
会员登录 免费注册
发布采购

ST92F150JDV1Q6 参数 Datasheet PDF下载

ST92F150JDV1Q6图片预览
型号: ST92F150JDV1Q6
PDF下载: 下载PDF文件 查看货源
内容描述: 8月16日- BIT单电压闪存单片机系列内存, E3 TMEMULATED EEPROM , CAN 2.0B和J1850 BLPD [8/16-BIT SINGLE VOLTAGE FLASH MCU FAMILY WITH RAM, E3 TMEMULATED EEPROM, CAN 2.0B AND J1850 BLPD]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管可编程只读存储器电动程控只读存储器电可擦编程只读存储器时钟
文件页数/大小: 426 页 / 3830 K
品牌: STMICROELECTRONICS [ ST ]
 浏览型号ST92F150JDV1Q6的Datasheet PDF文件第185页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第186页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第187页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第188页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第190页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第191页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第192页浏览型号ST92F150JDV1Q6的Datasheet PDF文件第193页  
MULTIFUNCTION TIMER (MFT)  
MULTIFUNCTION TIMER (Cont’d)  
10.4.2 Functional Description  
which may be programmed to respond to the rising  
edge, the falling edge or both, by programming  
bits A0-A1 and B0-B1 in T_ICR.  
The MFT operating modes are selected by pro-  
gramming the Timer Control Register (TCR) and  
the Timer Mode Register (TMR).  
In One Shot and Triggered Mode, every trigger  
event arriving before an End Of Count, is masked.  
In One Shot and Retriggered Mode, every trigger  
received while the counter is running, automatical-  
ly reloads the counter from REG0R. Triggered/Re-  
triggered Mode is set by the REN bit in TMR.  
10.4.2.1 Trigger Events  
A trigger event may be generated by software (by  
setting either the CP0 or the CP1 bits in the  
T_FLAGR register) or by an external source which  
may be programmed to respond to the rising edge,  
the falling edge or both by programming bits A0-  
A1 and B0-B1 in the T_ICR register. This trigger  
event can be used to perform a capture or a load,  
depending on the Timer mode (configured using  
the bits in Table 41).  
The TxINA input refers to REG0R and the TxINB  
input refers to REG1R.  
WARNING. If the Triggered Mode is selected  
when the counter is in Continuous Mode, every  
trigger is disabled, it is not therefore possible to  
synchronise the counting cycle by hardware or  
software.  
An event on the TxINA input or setting the CP0 bit  
triggers a capture to, or a load from the REG0R  
register (except in Bicapture mode, see Section  
10.4.2.11).  
10.4.2.5 Gated Mode  
In this mode, counting takes place only when the  
external gate input is at a logic low level. The se-  
lection of TxINA or TxINB as the gate input is  
made by programming the IN0-IN3 bits in T_ICR.  
An event on the TxINB input or setting the CP1 bit  
triggers a capture to, or a load from the REG1R  
register.  
In addition, in the special case of "Load from  
REG0R and monitor on REG1R", it is possible to  
use the TxINB input as a trigger for REG0R."  
10.4.2.6 Capture Mode  
The REG0R and REG1R registers may be inde-  
pendently set in Capture Mode by setting RM0 or  
RM1 in TMR, so that a capture of the current count  
value can be performed either on REG0R or on  
REG1R, initiated by software (by setting CP0 or  
CP1 in the T_FLAGR register) or by an event on  
the external input pins.  
10.4.2.2 One Shot Mode  
When the counter generates an overflow (in up-  
count mode), or an underflow (in down-count  
mode), that is to say when an End Of Count condi-  
tion is reached, the counter stops and no counter  
reload occurs. The counter may only be restarted  
by an external trigger on TxINA or B or a by soft-  
ware trigger on CP0 only. One Shot Mode is en-  
tered by setting the CO bit in TMR.  
WARNING. Care should be taken when two soft-  
ware captures are to be performed on the same  
register. In this case, at least one instruction must  
be present between the first CP0/CP1 bit set and  
the subsequent CP0/CP1 bit reset instructions.  
10.4.2.3 Continuous Mode  
10.4.2.7 Up/Down Mode  
Whenever the counter reaches an End Of Count  
condition, the counting sequence is automatically  
restarted and the counter is reloaded from REG0R  
(or from REG1R, when selected in Biload Mode).  
Continuous Mode is entered by resetting the C0 bit  
in TMR.  
The counter can count up or down depending on  
the state of the UDC bit (Up/Down Count) in TCR,  
or on the configuration of the external input pins,  
which have priority over UDC (see Input pin as-  
signment in T_ICR). The UDCS bit returns the  
counter up/down current status (see also the Up/  
Down Autodiscrimination mode in the Input Pin  
Assignment Section).  
10.4.2.4 Triggered And Retriggered Modes  
A triggered event may be generated by software  
(by setting either the CP0 or the CP1 bit in the  
T_FLAGR register), or by an external source  
189/426  
9
 复制成功!