参数资料
型号: M37641F8FP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 12 MHz, MICROCONTROLLER, PQFP80
封装: 14 X 20 MM, 0.80 MM, PLASTIC, QFP-80
文件页数: 62/140页
文件大小: 1694K
代理商: M37641F8FP
7641 Group
Rev.4.00
Aug 28, 2006
page 26 of 135
REJ03B0191-0400
Timer Y
Timer Y is a 16-bit timer that can be selected in one of four modes.
(1) Timer Mode
The timer counts one of the internal clock
φ divided by 8, 16, 32,
64.
q TYOUT Output Function
In the timer mode, a signal of which polarity is inverted each time
the timer underflows is output from the CNTR1 pin. This is enabled
by setting the Timer Y Output Control Bit to “1”.
When the CNTR1 Active Edge Switch Bit is “0”, the CNTR1 pin
starts pulses output beginning at “H”; when this bit is “1”, the
CNTR1 pin starts pulses output beginning at “L”.
When using a timer in this mode, set the port P44 direction regis-
ter to output mode.
(2) Period Measurement Mode
CNTR1 interrupt request is generated at a rising/falling edge of
CNTR1 pin input signal. Simultaneously, the value in timer Y latch
is reloaded in timer Y and timer Y continues counting down. Ex-
cept for the aforementioned operation, the operation in period
measurement mode is the same as in timer mode. (The TYOUT
output function is not usable.)
The timer value just before the reloading at rising/falling of CNTR1
pin input signal is retained until the timer Y is read once after the
reload.
The rising/falling timing of CNTR1 pin input signal is found by
CNTR1 interrupt.
When the CNTR1 Active Edge Switch Bit is “0”, the falling edge is
detected; when this bit is “1”, the rising edge is detected.
When using a timer in this mode, set the port P44 direction regis-
ter to input mode.
(3) Event Counter Mode
The timer counts signals input through the CNTR1 pin.
Except for this, the operation in event counter mode is the same
as in timer mode. (The TYOUT output function is not usable.)
When the CNTR1 Active Edge Switch Bit is “0”, the rising edge is
counted; when this bit is “1”, the falling edge is counted.
When using a timer in this mode, set the port P44 direction regis-
ter to input mode.
(4) Pulse Width HL Continuously Measurement
Mode
CNTR1 interrupt request is generated at both rising and falling
edges of CNTR1 pin input signal. Except for this, the operation in
pulse width HL continuously measurement mode is the same as in
period measurement mode.
When using a timer in this mode, set the port P44 direction regis-
ter to input mode.
Fig. 21 Structure of timer Y mode register
s Notes
q Timer Y Write Control
If the Timer Y Write Control Bit is “1”, when the value is written in
the address of timer Y, the value is loaded only in the latch. The
value in the latch is loaded in timer Y after timer Y underflows.
If the Timer Y Write Control Bit is “0”, when the value is written in
the address of timer Y, the value is loaded in the timer Y and the
latch at the same time.
When the value is to be written in latch only, unexpected value
may be set in the high-order timer if the writing in high-order latch
and the underflow of timer Y are performed at the same timing.
q CNTR1 Interrupt Active Edge Selection
The CNTR1 interrupt active edge depends on the selection of
CNTR1 Active Edge Switch Bit.
However, in pulse width HL continuously measurement mode,
CNTR1 interrupt request is generated at both rising and falling
edges of CNTR1 pin input signal regardless of the setting of
CNTR1 Active Edge Switch Bit.
Timer Y mode register (address 002816)
TYM
Timer Y write control bit
0: Write value in latch and counter
1: Write value in latch only
Timer Y output control bit
0: TYOUT output disabled
1: TYOUT output enabled
Timer Y count source select bits
b3b2
0 0:
φ / 8
0 1:
φ / 16
1 0:
φ / 32
1 1:
φ / 64
Timer Y operating mode bits
b5b4
0 0: Timer mode
0 1: Period measurement mode
1 0: Event counter mode
1 1: Pulse width HL continuously measure-
ment mode
CNTR1 active edge switch bit
0: Count at rising edge in event counter mode
Measure the falling edge to falling edge
period in period measurement mode
Falling edge active for interrupt
Start from “H” output for TYOUT signal
1: Count at falling edge in event counter mode
Measure the rising edge to rising edge
period in period measurement mode
Rising edge active for interrupt
Start from “L” output for TYOUT signal
Timer Y count stop bit
0: Count start
1: Count stop
b0
b7
相关PDF资料
PDF描述
M37641M8-XXXFP 8-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP80
M37643M8-XXXFP 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP80
M37643F8HP 8-BIT, FLASH, 12 MHz, MICROCONTROLLER, PQFP80
M37643M8-XXXHP 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP80
M37700M2-XXXFP 16-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
M37641F8FP#U0 功能描述:IC 740 MCU FLASH 32K 80QFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:740/7600 标准包装:250 系列:56F8xxx 核心处理器:56800E 芯体尺寸:16-位 速度:60MHz 连通性:CAN,SCI,SPI 外围设备:POR,PWM,温度传感器,WDT 输入/输出数:21 程序存储器容量:40KB(20K x 16) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:6K x 16 电压 - 电源 (Vcc/Vdd):2.25 V ~ 3.6 V 数据转换器:A/D 6x12b 振荡器型:内部 工作温度:-40°C ~ 125°C 封装/外壳:48-LQFP 包装:托盘 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
M37641F8HP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37641F8HP#U0 功能描述:IC 740 MCU FLASH 32K 80LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:740/7600 产品培训模块:Graphics LCD System and PIC24 Interface Asynchronous Stimulus 标准包装:27 系列:PIC® 24H 核心处理器:PIC 芯体尺寸:16-位 速度:40 MIP 连通性:I²C,SPI,UART/USART 外围设备:欠压检测/复位,POR,PWM,WDT 输入/输出数:21 程序存储器容量:12KB(4K x 24) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):3 V ~ 3.6 V 数据转换器:A/D 10x10b/12b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:28-SOIC(0.295",7.50mm 宽) 包装:管件 产品目录页面:648 (CN2011-ZH PDF) 配用:AC164339-ND - MODULE SKT FOR PM3 28SOICDV164033-ND - KIT START EXPLORER 16 MPLAB ICD2
M37641F8M8-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37641F8-XXXFP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER