R5F21346CNFP#U0 Renesas Electronics America, R5F21346CNFP#U0 Datasheet - Page 648
R5F21346CNFP#U0
Manufacturer Part Number
R5F21346CNFP#U0
Description
MCU 1KB FLASH 32K ROM 48-LQFP
Manufacturer
Renesas Electronics America
Series
R8C/3x/34Cr
Datasheet
1.R5F21346CNFPU0.pdf
(759 pages)
Specifications of R5F21346CNFP#U0
Core Processor
R8C
Core Size
16/32-Bit
Speed
20MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, PWM, Voltage Detect, WDT
Number Of I /o
43
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
2.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b; D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
48-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 648 of 759
- Download datasheet (8Mb)
R8C/34C Group
REJ09B0586-0100 Rev.1.00 Jan 13, 2010
Page 615 of 723
30.3
Figure 30.2
Table 30.3
i = 1 or 3
1
2
3
4
5
6
Step
Comparator B1 and comparator B3 operate independently. Their operations are the same.
Table 30.3 lists the Procedure for Setting Registers Associated with Comparator B.
Figure 30.2 shows an Operating Example of Comparator Bi (i = 1 or 3).
If the analog input voltage is higher than the reference input voltage, the INTiCOUT bit in the INTCMP register is
set to 1. If the analog input voltage is lower than the reference input voltage, the INTiCOUT bit is set to 0. To use
the comparator Bi interrupt, set the INTiEN bit in the INTEN register to 1 (interrupt enabled). If the comparison
result changes at this time, a comparator Bi interrupt request is generated. Refer to 30.4 Comparator B1 and
Comparator B3 Interrupts for details of interrupts.
Select the function of pins IVCMPi and IVREFi. Refer to 7.5 Port Settings .
However, set registers and bits other than listed in step 2 and the following steps.
INTF
INTCMP
Wait for comparator stability time (100 µ s max.)
INTEN
INTiIC
Reference input voltage
Functional Description
Register
Analog input voltage (V)
INTCMP register
INTiCOUT bit in
INTiIC register
Procedure for Setting Registers Associated with Comparator B
Operating Example of Comparator Bi (i = 1 or 3)
The above applies when:
Bits INTiF1 to INTiF0 in INTF register = 00b (no filter)
INTiPL bit in the INTEN register = 0 (both edges)
i = 1 or 3
IR bit in
Select whether to enable or disable the filter.
Select the sampling clock.
INTiCP0
INTiEN
INTiPL
ILVL2 to ILVL0
IR
0
Bit
1 (operation enabled)
When using an interrupt: 1 (interrupt enabled)
When using an interrupt: Select the input polarity.
When using an interrupt: Select the interrupt priority level.
When using an interrupt: 0 (no interrupt requested: initialization)
Set to 0 by a program.
Setting Value
30. Comparator B
Related parts for R5F21346CNFP#U0
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
KIT STARTER FOR M16C/29
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/2D
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
R0K33062P STARTER KIT
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/23 E8A
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/25
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER H8S2456 SHARPE DSPLY
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C38C
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C35C
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8CL3AC+LCD APPS
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR RX610
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R32C/118
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT DEV RSK-R8C/26-29
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR SH7124
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR H8SX/1622
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT DEV FOR SH7203
Manufacturer:
Renesas Electronics America
Datasheet: