R01UH0822EJ0100 Rev.1.00
Page 900 of 1041
Jul 31, 2019
RX13T Group
29. Data Operation Circuit (DOC)
29.
Data Operation Circuit (DOC)
29.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 29.1
DOC Block Diagram
Table 29.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
OMS[1:0]
DODIR
DOPCIE
Operation
circuit
Interrupt
control circuit
DODSR
DOCR
Interrupt signal
from data operation circuit
In
te
rn
a
l p
e
rip
he
ra
l b
u
s
DOCR: DOC control register
DODIR: DOC data input register
DODSR: DOC data setting register