R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 81
![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: 81 of 281
- Download datasheet (4Mb)
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
Figure 11.7
Figure 11.8
A d d re s s
11.1.6.7
m − 4
m − 3
m − 2
m − 1
m + 1
m
S ta ck sta te b e fo re in te rru p t re q u e s t
is a c kn o w le d g e d
In the interrupt sequence, the FLG register and PC are saved to the stack.
After 4 high-order bits in the PC and 4 high-order (IPL) and 8 low-order bits in the FLG register,
extended to 16 bits, are saved to the stack, the 16 low-order bits in the PC are saved. Figure 11.7
shows the Stack State Before and After Acknowledgement of Interrupt Request.
The other necessary registers are saved by a program at the beginning of the interrupt routine. The
PUSHM instruction can save several registers in the register bank being currently used
instruction.
NOTES:
The register saving operation which is performed in the interrupt sequence is saved in 8 bits every 4
steps. Figure 11.8 shows Operation of Saving Register.
M S B
C o n te n t o f P re vio u s S ta ck
C o n te n t o f P re vio u s S ta ck
Jan 19, 2006
1. Selectable from the R0, R1, R2, R3, A0, A1, SB and FB registers.
Address
NOTES :
[SP]−5
[SP]−4
[SP]−3
[SP]−2
[SP]−1
1. [SP] indicates the default value of the SP when interrupt request is acknowledged.
[SP]
software number 32 to 63 INT instructions, this SP is specified by the U
flag. Otherwise it is ISP.
Saving a Register
S ta ck
After registers are saved, the SP content is [SP] minus 4.
Stack State Before and After Acknowledgement of Interrupt Request
Operation of Saving Register
N O T E S
1 .W h e n e xe c u tin g th e so ftw a re n u m b e r 3 2 to 6 3 IN T in stru ctio n s,
th is S P is s p e cifie d b y th e U fla g . O th e rw is e it is IS P .
FLGH
Page 66 of 254
L S B
Stack
PCM
FLGL
PCL
[S P ]
S P v a lu e b e fo re
in te rru p t re q u e s t is
a c k n o w le d g e d
PCH
Sequence in which
order registers are
saved
completed saving
registers in four
operations.
(3)
(4)
(1)
(2)
Saved, 8 bits at a time
A d d re ss
m − 4
m − 3
m − 2
m − 1
m
m + 1
S ta c k s ta te a fte r in te rru p t re q u e st
is a ck n o w le d g e d
When executing the
M S B
C o n te n t o f P re vio u s S ta ck
C o n te n t o f P re vio u s S ta ck
F L G H
F L G L
P C M
P C L
S ta c k
PCH
PCM
PCL
FLGH
FLGL
P C H
: High-order 4 bits of PC
: Middle-order 8 bits of PC
: Low-order 8 bits of PC
: High-order 4 bits of FLG
: Low-order 8 bits of FLG
L S B
P C H
P C M
P C L
F L G H
F L G L
[S P ]
N e w S P V a lu e
: H ig h -o rd e r 4 b its o f P C
: M id d le -o rd e r 8 b its o f P C
: L o w -o rd e r 8 b its o f P C
: H ig h -o rd e r 4 b its o f F L G
: L o w -o rd e r 8 b its o f F L G
(1)
11. Interrupt
with 1
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: