R5F21346CNFP#U0 Renesas Electronics America, R5F21346CNFP#U0 Datasheet - Page 648

MCU 1KB FLASH 32K ROM 48-LQFP

R5F21346CNFP#U0

Manufacturer Part Number
R5F21346CNFP#U0
Description
MCU 1KB FLASH 32K ROM 48-LQFP
Manufacturer
Renesas Electronics America
Series
R8C/3x/34Cr
Datasheet

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
Company:
Part Number:
R5F21346CNFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
135
Company:
Part Number:
R5F21346CNFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
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