Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1669 of 1852
Nov 30, 2020
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, or subtract 16-bit values.
Table 48.1 lists the specifications of the DOC and Figure 48.1 is a block diagram of the DOC.
An interrupt can be generated if the result of 16-bit comparison meets one of the set interrupt conditions.
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 The DOC can be placed in a module-stop state.
Interrupts
The result of data comparison meets the detection condition.
The result of data addition is greater than FFFFh, which is an overflow.
The result of data subtraction is less than 0000h, which is an underflow.
Event link function (output)
The result of data comparison meets the detection condition.
The result of data addition is greater than FFFFh, which is an overflow.
The result of data subtraction is less than 0000h, which is an underflow.
OMS[1:0]
DODIR
DOPCIE
Interrupt
control circuit
DODSR
DOCR
Interrupt requests
Internal peripheral bus
Operation
circuit
Event output
DOCR: DOC control register
DODIR: DOC data input register
DODSR: DOC data setting register