213
Input Capture Function: The TCNT value can be captured into a general register (GRA, GRB,
GRC, or GRD) when a signal level changes at an input capture pin (FTIOA, FTIOB, FTIOC, or
FTIOD). Capture can take place on the rising edge, falling edge, or both edges. Figure 12.11
shows an example of the procedure for setting up input capture.
Select input-capture
signal source
Input setup
Start counter
Input capture operation
1
2
1. Set TIOR to select the input capture
function for a general register, and
select the input-capture signal source
and the capture edges (rising edge,
falling edge, or both edges) of the
input capture signal.
2. Set the CST bit in TMRW to 1 to start
the timer counter.
Figure 12.11 Setup Procedure for Input Capture (Example)
Содержание H8/3660
Страница 4: ......
Страница 26: ...10 ...
Страница 82: ...66 ...
Страница 152: ...136 ...
Страница 154: ...138 ...
Страница 260: ...244 ...
Страница 408: ...392 18 5 Output Load Circuit VCC 2 4 kΩ 12 kΩ 30 pF LSI output pin Figure 18 7 Output Load Condition ...
Страница 457: ...441 DEC VIN CH3 to CH0 A D converter Internal data bus Figure C 17 Port B Block Diagram PB7 to PB0 ...