参数资料
型号: MB89PV630C-SH
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 10 MHz, MICROCONTROLLER, CDIP64
封装: CERAMIC, MDIP-64
文件页数: 118/153页
文件大小: 7326K
代理商: MB89PV630C-SH
MB89630 SERIES HARDWARE MANUAL
2-44
(4) Description of operation
(a) Timer operation
Setting the PTX bits 1 and 2 of the CNTR1 to 0 gives the timer-operation mode. When the TPE bits 1 and
2 of the CNTR2 are set to 1, the counter starts incrementing from 00H. When the value of the counter
agrees with that of the COMR, the counter is cleared on the next count clock pulse and incrementing
restarts. Therefore, the TIR bits 1 and 2 are set and the output pin is reversed (when the TPE bits 1 and 2
are 0, the output pin is fixed at Low level) in cycles of the count clock pulses when 00H is written at the
COMR, or in cycles 256 times longer than those of the count clock pulses when FFH is written.
If the value of the COMR is rewritten in the timer-operation mode, it becomes effective from the next cycle
(when the value of the counter is 00H, the value of the COMR is transferred to the comparator latch).
Fig. 2.16 Timer Operation
If the TIE bits 1 and 2 of the CNTR2 are set to 1, an interrupt occurs when the values of the counter and
COMR agree. During interrupt processing, the TIR bits 1 and 2 are used as the interrupt flag. The TIR bits
1 and 2 are set to 1 irrespective of the value of the TIE bits 1 and 2.
Writing 0 at the TIR bits 1 and 2 permits clearing of the interrupt source or the TIR bits 1 and 2. When the
Read Modify Write instruction is read, the TIR bits 1 and 2 is set so that 1 can always be read to prevent
erroneous clearing.
The count clock pulse can be selected from four clock pulses from the prescaler by the clock pulse select
bits SC11, SC10, SC21, and SC20 of the CNTR1 register. When 1 is written at the CK12 bit of the CNTR2
register, CH1 toggle output is selected as the input clock of CH2 irrespective of the values of the SC21 and
SC20 bits.
Note: When the PWM operation mode is specified, do not put CH1 in the CK12 mode (do not write 1 at the
CK12 bit).
相关PDF资料
PDF描述
MB89P637-SH 8-BIT, OTPROM, 10 MHz, MICROCONTROLLER, PDIP64
MB89636RP-SH 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PDIP64
MB89635RP-SH 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PDIP64
MB89635RPF 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP64
MB89PV950CF 8-BIT, 5 MHz, MICROCONTROLLER, CQFP64
相关代理商/技术参数
参数描述
MB89PV640CF 制造商:FUJITSU 制造商全称:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller
MB89PV650A 制造商:FUJITSU 制造商全称:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller
MB89PV650ACF 制造商:FUJITSU 制造商全称:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller
MB89PV670A 制造商:FUJITSU 制造商全称:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller
MB89PV670ACF 制造商:FUJITSU 制造商全称:Fujitsu Component Limited. 功能描述:8-bit Proprietary Microcontroller