Hitachi H8S/2378, H8S/2378R Series Hardware Manual page 583

16 bit single-chip microcomputer
Table of Contents

Advertisement

Buffer register
• When TGR is an input capture register
When input capture occurs, the value in TCNT is transferred to TGR and the value previously
held in the timer general register is transferred to the buffer register.
This operation is illustrated in figure 11.13.
Input capture
signal
Buffer register
Example of Buffer Operation Setting Procedure: Figure 11.14 shows an example of the buffer
operation setting procedure.
Buffer operation
Select TGR function
Set buffer operation
Start count
<Buffer operation>
Figure 11.14 Example of Buffer Operation Setting Procedure
Compare match signal
Timer general
register
Figure 11.12 Compare Match Buffer Operation
Timer general
Figure 11.13 Input Capture Buffer Operation
[1] Designate TGR as an input capture register or
[2] Designate TGR for buffer operation with bits
[1]
[3] Set the CST bit in TSTR to 1 to start the count
[2]
[3]
Comparator
register
output compare register by means of TIOR.
BFA and BFB in TMDR.
operation.
TCNT
TCNT
Rev. 1.0, 09/01, page 539 of 904

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents