www.DataSheet4U.com
190
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
8.5.3 Pulse width measurement operations
The pulse width of the signal to be input to theINTP0/P00/TI0 pin can be neasured with the 16-bit timer register
(TM0).
There are two measurement methods: measuring with TM0 used in free-running mode, and measuring by restarting
the timer in synchronization with the valid edge of the signal input to the INTP0/P00/TI0 pin.
(1) Pulse width measurement with free-running
When the 16-bit timer register (TM0) is operated, the edge specified by external interrupt mode register (INTM0)
is input, the value of TM0 is taken into 16-bit capture register (CR01) and an external interrupt request signal
(INTP0) is set.
Any of three edge specifications can be selected - rising, falling, or both edges - by means of bits 2 and 3 (ES10
and ES11) of the external interrupt mode register (INTM0).
For valid edge detection, sampling is performed at the interval selected by means of the sampling clock select
register (SCS), and a capture operation is only performed when a valid level is detected twice, thus eliminating
noise with a short pulse width.
Figure 8-14. Configuration Diagram for Pulse Width Measurement by Free-Running Counter
f
X
/2
f
X
/2
2
f
X
/2
3
Selector
16-Bit Timer Register (TM0)
OVF0
TI0/P00/INTP0
16-Bit Capture Register (CR01)
INTP0
Internal Bus
Содержание 78011BGC AB8 Series
Страница 2: ...www DataSheet4U com 2 MEMO ...
Страница 8: ...www DataSheet4U com 8 MEMO ...
Страница 22: ...www DataSheet4U com 22 MEMO ...
Страница 30: ...www DataSheet4U com 30 MEMO ...
Страница 34: ...www DataSheet4U com 34 MEMO ...
Страница 62: ...www DataSheet4U com CHAPTER 2 OUTLINE µPD78014Y Subseries 62 MEMO ...
Страница 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION µPD78014 Subseries 78 MEMO ...
Страница 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION µPD78014Y Subseries 94 MEMO ...
Страница 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO ...
Страница 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO ...
Страница 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO ...
Страница 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO ...
Страница 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 µPD78014 Subseries 318 MEMO ...
Страница 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 µPD78014Y Subseries 408 MEMO ...
Страница 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO ...
Страница 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO ...
Страница 502: ...www DataSheet4U com CHAPTER 22 µPD78P014 78P014Y 502 MEMO ...
Страница 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO ...