179
MC97F60128
ABOV Semiconductor Co., Ltd.
11.7.4 8-Bit Timer 7/8 Capture Mode
The 8-bit Capture 7 and 8 mode is selected by control register as shown in Figure 11.25.
The timer 7/8 capture mode is set by T7MS, T8MS as
‘1’. The clock source can use the internal/external clock.
Basically, it has the same function as the 8-bit timer/counter mode and the interrupt occurs when T7CNT, T8CNT is
equal to T7DR, T8DR. The T7CNT, T8CNT value is automatically cleared by match signal.
This timer interrupt in capture mode is very useful when the pulse width of captured signal is wider than the maximum
period of timer.
The capture result is loaded into T7CAPR, T8CAPR. In the timer 7/8 capture mode, timer 7/8 output (T7O, T8O)
waveform is not available.
According to the EIPOL2H/EIPOL1 register setting, the external interrupt EINT17 and EINT18 function is chose. Of
course, the EINT17 and EINT18 pins must be set to an input port.
The T7CAPR and T7DR are in the same address. In the capture mode, reading operation reads T7CAPR, not T7DR
and writing operation will update T7DR. The T8CAPR has the same function.
Содержание MC97F60128
Страница 17: ...17 MC97F60128 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 100 pin LQFP 1414 Package...
Страница 18: ...18 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 2 80 Pin LQFP 1212 Package...
Страница 19: ...19 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 3 80 Pin LQFP 1414 Package...
Страница 20: ...20 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 4 64 Pin LQFP 1414 Package...