HD64336901G Renesas Technology, HD64336901G Datasheet - Page 208

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
Rev. 1.00, 11/03, page 180 of 376
Compare match
signal B
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 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.
Bit
TCRW
Set value
TCRW
write signal
FTIOB pin
Figure 12.26 When Compare Match and Bit Manipulation Instruction to TCRW
CCLR
7
0
CKS2
6
0
CKS1
5
0
Occur at the Same Timing
CKS0
4
0
TOD
Remains high because the 1 writing to TOB has priority
3
0
TOC
2
1
TOB
1
1
TOA
0
0
Expected output

Related parts for HD64336901G