参数资料
型号: UPD78F9510GR-JJG-A
厂商: Renesas Electronics America
文件页数: 11/175页
文件大小: 0K
描述: MCU 8BIT SGL CHIP 16PIN
标准包装: 400
系列: 78K0S/Kx1+
核心处理器: 78K0S
芯体尺寸: 8-位
速度: 10MHz
外围设备: LVD,POR,PWM,WDT
输入/输出数: 13
程序存储器容量: 1KB(1K x 8)
程序存储器类型: 闪存
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 2 V ~ 5.5 V
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 16-SSOP(0.173",4.40mm 宽)
包装: 托盘
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U16994EJ6V0UD
106
6.4.3
Pulse width measurement operations
It is possible to measure the pulse width of the signals input to the TI000 pin and TI010 pin using 16-bit timer
counter 00 (TM00).
There are two measurement methods: measuring with TM00 used in free-running mode, and measuring by
restarting the timer in synchronization with the edge of the signal input to the TI000 pin.
When an interrupt occurs, necessary pulse width is calculable by reading the valid value of the capture register.
The capture operation is not performed until the signal pulse width is sampled in the count clock cycle selected by
prescaler mode register 00 (PRM00) and the valid level of the TI000 or TI010 pin is detected twice, thus eliminating
noise with a short pulse width (see Figure 6-18).
Figure 6-18. CR010 Capture Operation with Rising Edge Specified
Count clock
TM00
TI000
Rising edge detection
CR010
INTTM010
N
3N 2N 1
N
N + 1
N
Setting
The basic operation setting procedure is as follows.
<1>
Set the CRC00 register (see Figures 6-19, 6-22, 6-24, and 6-26 for the set value).
<2>
Set the count clock by using the PRM00 register.
<3>
Set the TMC00 register to start the operation (see Figures 6-19, 6-22, 6-24, and 6-26 for the set value).
Caution
To use two capture registers, set the TI000 and TI010 pins.
Remarks 1. For the setting of the TI000 (or TI010) pin, see 6.3 (5) Port mode register 2 (PM2) and port mode
control register 2 (PMC2).
2. For how to enable the INTTM000 (or INTTM010) interrupt, see CHAPTER 10
INTERRUPT
FUNCTIONS.
(1) Pulse width measurement with free-running counter and one capture register
Specify both the rising and falling edges as the valid edges of the TI000 pin, by using bits 4 and 5 (ES000 and
ES010) of PRM00.
When 16-bit timer counter 00 (TM00) is operated in free-running mode, and the valid edge specified by
PRM00 is input, the value of TM00 is taken into 16-bit timer capture/compare register 010 (CR010) and an
external interrupt request signal (INTTM010) is set.
Sampling is performed using the count clock selected by PRM00, and a capture operation is only performed
when a valid level of the TI000 pin is detected twice, thus eliminating noise with a short pulse width.
Caution
The measurable pulse width in this operation example is up to 1 cycle of the timer counter.
相关PDF资料
PDF描述
UPD78F9210GR-JJG-A MCU 8BIT 1KB FLASH MEM 16-SSOP
P87LPC760BDH,118 IC 80C51 MCU 1KB OTP 14TSSOP
MC74HCT4851ADTG ANALOG MULTIPLEXERS/DEMUL TSSOP
MC74HCT4851ADG ANALOG MULTIPLEXERS/DEMUL SOIC16
MC74HC4851ADG IC MUX/DEMUX 8X1 16SOIC
相关代理商/技术参数
参数描述
UPD78F9511GR-JJG-A 功能描述:MCU 8BIT SGL CHIP 16PIN RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:78K0S/Kx1+ 标准包装:38 系列:Encore!® XP® 核心处理器:eZ8 芯体尺寸:8-位 速度:5MHz 连通性:IrDA,UART/USART 外围设备:欠压检测/复位,LED,POR,PWM,WDT 输入/输出数:16 程序存储器容量:4KB(4K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 3.6 V 数据转换器:- 振荡器型:内部 工作温度:-40°C ~ 105°C 封装/外壳:20-SOIC(0.295",7.50mm 宽) 包装:管件 其它名称:269-4116Z8F0413SH005EG-ND
UPD78F9512GR-JJG-A 功能描述:MCU 8BIT SGL CHIP 16PIN RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:78K0S/Kx1+ 标准包装:38 系列:Encore!® XP® 核心处理器:eZ8 芯体尺寸:8-位 速度:5MHz 连通性:IrDA,UART/USART 外围设备:欠压检测/复位,LED,POR,PWM,WDT 输入/输出数:16 程序存储器容量:4KB(4K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 3.6 V 数据转换器:- 振荡器型:内部 工作温度:-40°C ~ 105°C 封装/外壳:20-SOIC(0.295",7.50mm 宽) 包装:管件 其它名称:269-4116Z8F0413SH005EG-ND
UPD78F9801GB-8ES-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9842GB-8ES 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9842GB-8ES-A 制造商:Renesas Electronics Corporation 功能描述: