R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 138
![IC R8C MCU FLASH 8K 20SSOP](/photos/12/35/123577/r5f21162sp_u0_sml.jpg)
R5F21162SP#U0
Manufacturer Part Number
R5F21162SP#U0
Description
IC R8C MCU FLASH 8K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/16r
Datasheets
1.R5F211A2SPU0.pdf
(300 pages)
2.R5F21173DSPU0.pdf
(40 pages)
3.R5F21173DSPU0.pdf
(281 pages)
Specifications of R5F21162SP#U0
Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
- Current page: 138 of 281
- Download datasheet (4Mb)
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
13.3.2
Table 13.12
NOTES:
Count Source
Count Operation
Count Start Condition
Counter Stop Condition
Waveform Output Start
Condition
Waveform Output Stop
Condition
Interrupt Request
Generation Timing
INT3/TCIN Pin Function
P1_0 to P1_2 Pins and
P3_0 to P3_2 Pins
Function
Counter Value Reset
Timing
Read from Timer
Write to Timer
Select Function
1. When the corresponding port data is “1”, the waveform is output depending on the setting of the
2. Access the TC, TM0, and TM1 registers in 16-bit units.
Output compare mode is mode to generate an interrupt request when the value of the TC register
matches the value of the TM0 or TM1 register. Table 13.12 shows Specification of Output Compare
Mode. Figure 13.31 shows an Operating Example in Output Compare Mode.
registers TCC1 and TCOUT. When the corresponding port data is “0”, the fixed level is output (refer
to Figure 13.25 Block Diagram of CMP Waveform Output Unit).
Jan 19, 2006
Output Compare Mode
Item
Specification of Output Compare Mode
(1)
(1)
Page 123 of 254
f1, f8, f32, fRING-fast
• Increment
• The value in the TC register is set to “0000h” when count stops
The TCC00 bit in the TCC0 register is set to “1” (count starts)
The TCC00 bit in the TCC0 register is set to “0” (count stops)
The TCOUT0 to TCOUT5 bits in the TCOUT register is set to “1” (enables
CMP output).
The TCOUT0 to TCOUT5 bits in the TCOUT register is set to “0” (disables
CMP output).
• When a match occurs in the compare circuit 0 [compare 0 interrupt]
• When a match occurs in the compare circuit 1 [compare 1 interrupt]
• When Time C overflows [Timer C interrupt]
Programmable I/O port or INT3 interrupt input
Programmable I/O port or CMP output
When the TCC00 bit in the TCC0 register is set to “0” (count stops)
• The value in the compare register can be read out by reading the TM0 and
• The count value can be read out by reading the TC register.
• Write to the TC register is disabled.
• The values written to the TM0 and TM1 registers are stored in the compare
• Timer C counter reload select function
• The TCC14 to TCC15 bits in the TCC1 register can select the output level
• The TCOUT6 to TCOUT7 bits in the TCOUT register can select whether
TM1 registers.
register at the following timings:
when the compare circuit 0 matches. The TCC16 to TCC17 bits in the
TCC1 register can select the output level when the compare circuit 1
matches.
the output is reversed or not.
- When the TM0 and TM1 registers are written if the TCC00 bit is set to “0”
- When the counter overflows if the TCC00 bit is set to “1” (during
- When the compare 1 matches a counter if the TCC00 bit is set to “1” and
The TCC12 bit in the TCC1 register can select whether the counter value
in the TC register is set to “0000h” when the compare circuit 1 matches or
not.
(count stops)
counting) and the TCC12 bit in the TCC1 register is set to “0” (free-run)
the TCC12 bit is set to “1” (set the TC register to “0000h” when the
compare 1 matches)
(2)
Specification
(1)
13. Timers
Related parts for R5F21162SP#U0
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![R0K330290S001BE](/photos/28/41/284146/r0k330290s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR M16C/29
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K5212D8S001BE](/photos/24/13/241324/4607177_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/2D
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K33062PS001BE](/photos/24/13/241320/4607173_tmb.jpg)
Part Number:
Description:
R0K33062P STARTER KIT
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521237S001BE](/photos/28/41/284170/r0k521237s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/23 E8A
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521256S001BE](/photos/24/13/241323/4607176_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C/25
Manufacturer:
Renesas Electronics America
Datasheet:
![YLCDRSK2456S](/images/manufacturer_photos/0/5/560/renesas_electronics_america_tmb.jpg)
Part Number:
Description:
KIT STARTER H8S2456 SHARPE DSPLY
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521380S000BE](/photos/28/41/284144/r0k521380s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C38C
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521350S000BE](/photos/28/41/284145/r0k521350s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8C35C
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K52L3A0S000BE](/photos/28/41/284149/r0k52l3a0s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R8CL3AC+LCD APPS
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K556100S000BE](/images/manufacturer_photos/0/5/560/renesas_electronics_america_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR RX610
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K564189S000BE](/photos/28/41/284173/r0k564189s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR R32C/118
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K521276S000BE](/photos/9/26/92647/r0k521276s000be_tmb.jpg)
Part Number:
Description:
KIT DEV RSK-R8C/26-29
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K571242S001BE](/photos/9/23/92397/r0k571242s001be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR SH7124
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K561622S000BE](/photos/9/23/92398/r0k561622s000be_tmb.jpg)
Part Number:
Description:
KIT STARTER FOR H8SX/1622
Manufacturer:
Renesas Electronics America
Datasheet:
![R0K572030S000BE](/photos/9/24/92406/r0k572030s000be_tmb.jpg)
Part Number:
Description:
KIT DEV FOR SH7203
Manufacturer:
Renesas Electronics America
Datasheet: