Operation; Data Comparison Mode - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
29.3

Operation

29.3.1

Data Comparison Mode

Figure 29.2 shows an example of the steps involved in data comparison mode operation by the data operation circuit.
The following is an example of operation when DCSEL is set to 0 (data mismatch is detected as a result of data
comparison).
(1) Writing 00b to the DOCR.OMS[1:0] bits selects data comparison mode.
(2) The 16-bit reference data is set in DODSR.
(3) 16-bit data for comparison is written to DODIR.
(4) Writing of 16-bit data continues until all data for comparison have been written to DODIR.
(5) If a value written to DODIR does not match that in DODSR *
DOCR.DOPCIE bit is 1, a data operation circuit interrupt is also generated.
Note 1. When DOCR.DCSEL = 0
DOCR.OMS[1:0] bits
DODSR register
DODIR register
1
DOCR.DOPCF flag
0
Figure 29.2
Example of Operation in Data Comparison Mode
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
xxb
00b
xxxxh
AAAAh
xxxxh
(1)
(2)
1
, the DOCR.DOPCF flag is set to 1. When the
AAAAh
AAAAh
(3)
(4)
(5)
29. Data Operation Circuit (DOC)
5555h
Write 1 to
DOCR.DOPCFCL bit
Page 903 of 1041

Advertisement

Table of Contents
loading

Table of Contents