English
Language : 

RX62N Datasheet, PDF (17/25 Pages) Renesas Technology Corp – 100 MHz 32-bit RX MCU with FPU, 165 DMIPS, up to 512-Kbyte Flash, Ethernet, USB 2.0
RX62N Group and RX621 Group
16-Bit SDRAM Connection and Access Examples
5.5 Function Descriptions
5.5.1 PowerON_Reset_PC
(1) Description
The PowerON_Reset_PC function initializes the stack pointer (SP), and, using embedded functions and standard library
functions, sets the interrupt mask bits and sets up uninitialized and initialized data.
(2) Arguments
None
(3) Return value
None
(4) Flowchart
PowerOn_Reset_PC
Set interrupt table vector (INTB)
set_intb((unsigned long)__sectop("C$VECT")) *1
Set floating point status word (FPSW)
set_fpsw(FPSW_init) *1
Call section initialization function
_INTSCT() *1
Set processor status word (PSW)
set_psw(PSW_init) *1
Call change processor mode function
Change_PSW_PM_to_UserMode() *2
Call main function
main()
Call break function
brk() *1
end
Notes: 1. set_intb, set_fpsw, set_psw functions : Embedded functions
_INTSCT function
: Standard library function
brk function
: Embedded function
2. Transition from supervisor mode to user mode
For details, see the development environment manual listed in section 6, Reference Documents.
Figure 7 Flow chart (PowerON_Reset_PC)
R01AN0585EJ0202 Rev.2.02
Feb 14, 2014
Page 17 of 22