參數(shù)資料
型號: PULSE
英文描述: Pulse Period/Width Measurement on the M16C/62
中文描述: 脈沖持續(xù)時(shí)間/寬度測量的雙隨機(jī)PWM
文件頁數(shù): 4/13頁
文件大?。?/td> 410K
代理商: PULSE
Pulse Period/Width Measurement on the M16C/62
M16C
3.2 Pulse Width Measurement
Pulse Width Measurement Mode operates in much the same way except the count register is transferred
to the reload register for every edge detected on the TBi
IN
pin, and the counter resets and resumes
counting, as shown in Figure 3. Again, note that the value of the counter immediately after the ‘start count
flag’ is set is indeterminate and an overflow could occur before the first falling edge. This measurement is
also free running but now the user must determine by software whether the measurement is for the high
or low width.
Figure 3. Operation Timing When Measuring a Pulse Width
4. Configuring Pulse Period/Pulse Width Measurement Mode
To configure a timer for Pulse Period/Pulse Width Measurement Mode:
1.
Load the timer mode register, TAiMR.
Select Measurement Mode: bits TMOD0 = 0, TMOD1 = 1.
Set the MR0 and MR1 bits for period or width measurement.
Clear the MR2 bit for period or width measurement.
MR3 is the timer Bi overflow flag (can be cleared but not set).
Select the clock source (f1, f/8, f/32, or fc/32): bits TCK0,TCK1 register.
2.
Set the timer ‘interrupt priority level’, TBiIC, to at least 1 if required.
AN-DECE-MCU-6-A
May 2002
3
相關(guān)PDF資料
PDF描述
PULSPRO SOFTWARE PULSAR PROF
PV35GROMMETPK100 15NS, 28 PLCC, IND TEMP(EPLD)
PV36AGROMMETPK100 GROMMET 12.7MM Inhalt pro Packung: 100 Stk.
PV36GROMMETPK100 15NS, 24 PDIP, IND TEMP(EPLD)
PV37AGROMMETPK100 15NS, 24 SOIC, COM TEMP(EPLD)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PULSE-M850 制造商:HOBUT 功能描述:MODULE PULSE FOR USE WITH M850
PULSE-VALVES-9-99 制造商:SENSORTECHNICS 制造商全稱:Sensortechnics GmbH 功能描述:High-performance media resistant soleniod valves
PULSEW3579 制造商:PULSE 制造商全稱:Pulse A Technitrol Company 功能描述:Ferrite-backed Embedded NFC Antenna
PULSEW3580 制造商:PULSE 制造商全稱:Pulse A Technitrol Company 功能描述:Ferrite-backed Embedded NFC Antenna
PULSEW7001 制造商:PULSE 制造商全稱:Pulse A Technitrol Company 功能描述:NFC Flex Stamp Antenna