Renesas F-ZTAT H8 Series Hardware Manual page 399

Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

Examples of Buffering: Figure 10.49 shows an example in which GRA is set to function as an
output compare register buffered by BRA, TCNT is set to operate as a periodic counter cleared by
GRB compare match, and TIOCA and TIOCB are set to toggle at compare match A and B.
Because of the buffer setting, when TIOCA toggles at compare match A, the BRA value is
simultaneously transferred to GRA. This operation is repeated each time compare match A occurs.
Figure 10.50 shows the transfer timing.
TCNT value
GRB
H'0250
H'0200
H'0100
H'0000
BRA
H'0200
GRA
H'0250
TIOCB
TIOCA
Figure 10.49 Register Buffering (Example 1: Buffering of Output Compare Register)
Section 10 16-Bit Integrated Timer Unit (ITU)
Counter cleared by compare match B
H'0100
H'0200
H'0100
Compare match A
Rev. 3.00 Mar 21, 2006 page 371 of 814
Time
H'0200
H'0200
Toggle
output
Toggle
output
REJ09B0302-0300

Advertisement

Table of Contents
loading

Table of Contents