參數(shù)資料
型號: MB89635RPF
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP64
封裝: PLASTIC, QFP-64
文件頁數(shù): 128/153頁
文件大?。?/td> 7326K
代理商: MB89635RPF
HARDWARE CONFIGURATION
2-53
(4) Description of operation
(a) Timer function
This timer has the following two modes: reload timer and one-shot timer.
(1) Reload timer mode
Each time the counter underflows, the value written at the RLBR is reloaded to continue the decre-
ment ing. When the counter underflows, the interrupt flag UF (bit 2) is set. If the IE bit (bit 5) is set to
1, an interrupt request is output. If the TOE bit (bit 6) is set to 1, the value of the TO bit is reversed
each time the timer underflows.
(2) One-shot timer mode
When an underflow occurs, the timer stops operation. When the counter underflows, the interrupt re
quest flag UF (bit 2) is set. The EN bit (bit 7) is automatically set to 0 to stop counting.
In both modes, counting starts when 1 is written at the EN bit (bit 7), and it stops when 0 is written.
(b) Pulse-width measurement function
(1) Measurement start
Writing 1 at the FC bit (bit 7) and EN bit (bit 7) causes the counter to enter the operation-enable state.
Counting starts when the edge of the measured pulse input is detected under this condition. At the
pulse-width measurement function, decrementing is started from FF
H.
(2) Measurement end and measured value
When measurement is terminated, the counter transfers the measured value to the buffer, sets the
measurement-end flag IR (bit 1) and buffer-full flag BF (bit 0), and then enters the operation-enable
state again. At this time, an interrupt request is output if the IE bit (bit 5) is set to 1. However, if the
previous measured value cannot be read after continuous pulse-width measurement, continue to set
the BF flag to hold the previous measured value. The new measured value is discarded.
(3) Long pulse
If the counter undeflows during measurement, set the UF bit (bit 2) to continue counting. In this case,
an interrupt request is also output if the IE bit (bit 5) is set to 1.
(4) Operation stop
Measurement stops when 0 is written at the EN bit (bit 7).
(5) Calculation of pulse width
The measured value to be transferred to the buffer is the same as that of the counter when measure
ment is terminated. Therefore, the pulse width should be calculated as follows:
Pulse width = [(256 - counter value) + (Number of TO reversed
ψ 256)] ψ 1 cycle width of count clock
pulse
相關(guān)PDF資料
PDF描述
MB89PV950CF 8-BIT, 5 MHz, MICROCONTROLLER, CQFP64
MB89951PFM 8-BIT, MROM, 5 MHz, MICROCONTROLLER, PQFP64
MB89T623PFM 8-BIT, 10 MHz, MICROCONTROLLER, PQFP64
MB89623RP-SH 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PDIP64
MB89625RPFV 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MB89635RPFM 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-bit Proprietary Microcontroller
MB89635RP-SH 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-bit Proprietary Microcontroller
MB89636 制造商:FUJITSU 制造商全稱:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller
MB89636PF 制造商:FUJITSU 制造商全稱:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller
MB89636PFM 制造商:FUJITSU 制造商全稱:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller