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)
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...