μPD78F920x ONLY) User’s Manual U18172EJ3V0UD 106 6.4.3 Pulse " />
參數(shù)資料
型號: UPD78F9201MA-CAC-A
廠商: Renesas Electronics America
文件頁數(shù): 11/158頁
文件大小: 0K
描述: MCU 8BIT 2KB FLASH 128B RAM
標(biāo)準(zhǔn)包裝: 400
系列: 78K0S/Kx1+
核心處理器: 78K0S
芯體尺寸: 8-位
速度: 10MHz
外圍設(shè)備: LVD,POR,PWM,WDT
輸入/輸出數(shù): 7
程序存儲器容量: 2KB(2K x 8)
程序存儲器類型: 閃存
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 4x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 10-LSSOP(0.225",5.72mm 寬)
包裝: 托盤
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00 (
μPD78F920x ONLY)
User’s Manual U18172EJ3V0UD
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 valied 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.
相關(guān)PDF資料
PDF描述
VE-BNM-IW-F1 CONVERTER MOD DC/DC 10V 100W
VE-BNL-IX-F4 CONVERTER MOD DC/DC 28V 75W
VE-BNL-IX-F2 CONVERTER MOD DC/DC 28V 75W
VE-BNL-IX-F1 CONVERTER MOD DC/DC 28V 75W
C8051F304-GMR IC 8051 MCU 4K FLASH 11QFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD78F9202GR-AND-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9202MA(T)-CAC-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9202MA-CAC-A 功能描述:MCU 8BIT 4KB FLASH 128B RAM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:78K0S/Kx1+ 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲器容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤
UPD78F9202MA-CAC-E2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9210CS-CAB-A 功能描述:MCU 8BIT 1KB FLASH 16PIN RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:78K0S/Kx1+ 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲器容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤