EasyManuals Logo

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1559 background imageLoading...
Page #1559 background image
R01UH0823EJ0100 Rev.1.00 Page 1559 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
GBRSCN bit. The ADCSR.ADST bit must be 0 when the GBRP bit is to be set.
The setting of the GBRP bit is enabled when the PGS bit is 1.
44.2.18 A/D Compare Function Control Register (ADCMPCR)
ADCMPCR sets the compare window A and window B functions.
CMPAB[1:0] Bits (Window A/B Composite Condition Setting)
These bits are valid when both window A and window B are enabled (CMPAE = 1 and CMPBE = 1) in single scan mode.
These bits are used to select compare function match/mismatch event output conditions for the ELC or monitoring
conditions of ADWINMON.MONCOMB. The CMPAB[1:0] bits should be set while the ADCSR.ADST bit is 0.
CMPBE Bit (Compare Window B Operation Enable)
This bit enables or disables the compare window B operation. The CMPBE bit should be set while the ADCSR.ADST bit
is 0.
Set this bit to 0 before setting the following registers.
Address(es): S12AD.ADCMPCR 0008 9090h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
WCMP
E
——CMPAECMPBE———————CMPAB[1:0]
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b1, b0 CMPAB[1:0] Window A/B Composite
Condition Setting
b1 b0
0 0: S12ADWMELC is output when window A comparison
conditions are met OR window B comparison conditions are
met. S12ADWUMELC is output in other cases.
0 1: S12ADWMELC is output when window A comparison
conditions are met EXOR window B comparison conditions are
met. S12ADWUMELC is output in other cases.
1 0: S12ADWMELC is output when window A comparison
conditions are met AND window B comparison conditions are
met. S12ADWUMELC is output in other cases.
1 1: Setting prohibited.
R/W
b8 to b2 Reserved These bits are read as 0. The write value should be 0. R/W
b9 CMPBE Compare Window B
Operation Enable
0: Compare window B operation is disabled.
S12ADWMELC and S12ADWUMELC outputs are disabled.
1: Compare window B operation is enabled.
R/W
b10 Reserved This bit is read as 0. The write value should be 0. R/W
b11 CMPAE Compare Window A
Operation Enable
0: Compare window A operation is disabled.
S12ADWMELC and S12ADWUMELC outputs are disabled.
1: Compare window A operation is enabled.
R/W
b13, 12 Reserved These bits are read as 0. The write value should be 0. R/W
b14 WCMPE Window Function Setting 0: Window function is disabled.
Window A and window B operate as a comparator to compare the
single value on the lower side with the A/D conversion result.
1: Window function is enabled.
Window A and window B operate as a comparator to compare the
two values on the upper and lower sides with the A/D conversion
result.
R/W
b15 Reserved This bit is read as 0. The write value should be 0. R/W

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
CoreRXv1, RXv2, RXv3
Flash MemoryUp to 8 MB
RAMUp to 1 MB
Operating Voltage1.62V to 5.5V
Operating Temperature-40°C to +85°C or +105°C
PackageBGA, LQFP
ADC Resolution12-bit
DAC Resolution12-bit
Communication InterfacesSCI, SPI, I2C, USB, Ethernet, CAN
Architecture32-bit
Security FeaturesMemory Protection Unit (MPU)

Related product manuals