R5F21324ANSP#U1 Renesas Electronics America, R5F21324ANSP#U1 Datasheet - Page 514

MCU 1KB FLASH 16K ROM 20-LSSOP

R5F21324ANSP#U1

Manufacturer Part Number
R5F21324ANSP#U1
Description
MCU 1KB FLASH 16K ROM 20-LSSOP
Manufacturer
Renesas Electronics America
Series
R8C/3x/32Ar
Datasheet

Specifications of R5F21324ANSP#U1

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
15
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-LSSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21324ANSP#U1
Manufacturer:
Renesas Electronics America
Quantity:
135
Under development
R8C/32A Group
REJ09B0458-0020 Rev.0.20
Page 484 of 583
29.3
Figure 29.2
Table 29.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 29.3 lists the Procedure for Setting Registers Associated with Comparator B.
Figure 29.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 29.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
INTCMP register
Functional Description
INTiCOUT bit in
Register
Analog input voltage (V)
INTiIC register
IR bit in
Preliminary specification
Specifications in this manual are tentative and subject to change.
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
Select whether to enable or disable the filter.
Select the sampling clock.
INTiCP0
INTiEN
INTiPL
ILVL2 to ILVL0
IR
1
0
1
0
0
Bit
Nov 05, 2008
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
29. Comparator B

Related parts for R5F21324ANSP#U1