R01UH0823EJ0100 Rev.1.00
Page 1651 of 1823
Jul 31, 2019
RX23W Group
48. Data Operation Circuit (DOC)
48.
Data Operation Circuit (DOC)
48.1
Overview
The data operation circuit (DOC) is used to compare, add, and subtract 16-bit data.
lists the data operation circuit specifications and
shows a block diagram of the data operation
circuit.
16-bit data is compared and an interrupt can be generated when a selected condition applies.
Figure 48.1
DOC Block Diagram
Table 48.1
DOC Specifications
Item
Description
Data operation function
16-bit data comparison, addition, and subtraction
Lower power consumption function
Module stop state can be set.
Interrupts
An interrupt occurs at the following timings:
The compared values either match or mismatch
The result of data addition is greater than FFFFh
The result of data subtraction is less than 0000h
Event link function (output)
An interrupt occurs at the following timings:
The compared values either match or mismatch
The result of data addition is greater than FFFFh
The result of data subtraction is less than 0000h
OMS[1:0]
DODIR
DOPCIE
Interrupt
control circuit
DODSR
DOCR
Interrupt signal
from data operation circuit
In
te
rn
al
p
er
iph
er
al
b
us
Operation
circuit
Event signal output
DOCR: DOC control register
DODIR: DOC data input register
DODSR: DOC data setting register