Figure 12.26 When Compare Match And Bit Manipulation Instruction To Tcrw Occur At The Same Timing - Renesas H8 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

TCRW has been set to H'06. Compare match B and compare match C are used. The FTIOB pin is in the 1 output state,
and is set to the toggle output or the 0 output by compare match B.
When BCLR#2, @TCRW is executed to clear the TOC bit (the FTIOC signal is low) and compare match B occurs
at the same timing as shown below, the H'02 writing to TCRW has priority and compare match B does not drive the FTIOB signal low;
the FTIOB signal remains high.
7
Bit
TCRW
CCLR
0
Set value
BCLR#2, @TCRW
(1) TCRW read operation: Read H'06
(2) Modify operation: Modify H'06 to H'02
(3) Write operation to TCRW: Write H'02
φ
TCRW
write signal
Compare match
signal B
FTIOB pin
Figure 12.26 When Compare Match and Bit Manipulation Instruction to TCRW
6
5
4
CKS2
CKS1
CKS0
0
0
0
Occur at the Same Timing
3
2
1
TOD
TOC
TOB
0
1
1
Remains high because the 1 writing to TOB has priority
Rev. 3.00 Sep. 14, 2006 Page 189 of 408
Section 12 Timer W
0
TOA
0
Expected output
REJ09B0105-0300

Advertisement

Table of Contents
loading

Table of Contents