r5s77631ay266bgv Renesas Electronics Corporation., r5s77631ay266bgv Datasheet - Page 720

no-image

r5s77631ay266bgv

Manufacturer Part Number
r5s77631ay266bgv
Description
Renesas 32-bit Risc Microcomputer Superhtm Risc Engine Family Sh-4a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 17 Watchdog Timer and Reset (WDT)
17.4
17.4.1
Power-on reset and manual reset are available. These sources are follows.
(1)
1. Reset sources
• Input low level via PRESET pin.
• The WDTCNT overflows when the WT/IT bit in the WDTCSR is 1, and the RSTS bit is 0.
• The H-UDI reset occurs (For details, see section 42, User Debugging Interface (H-UDI)).
2. Branch destination address: H'A000 0000
3. Operation in branch
Exception code H'000 is set in the EXPEVT register. The VBR and SR registers are initialized,
and the program branches to PC =H'A000 0000. By initialization, the VBR register is set to
H'0000 0000. In the SR register, the MD, RB, and BL bits are set to 1, the FD bit is cleared to 0,
and the IMASK3 to IMASK0 bits (interrupt mask level) are set to B'1111.
The CPU and the peripheral modules are also initialized. For details, see the register descriptions
in each section.
When the power is turned on, be sure to input a low level to the PRESET pin. The TRST pin
should also be brought low level to initialize the H-UDI.
Rev. 1.00 Oct. 01, 2007 Page 654 of 1956
REJ09B0256-0100
Power_on_reset()
{
}
Power-on reset
Operation
Reset request
EXPEVT = H'0000 0000;
VBR = H'0000 0000;
SR.MD = 1;
SR.RB = 1;
SR.BL = 1;
SR.(I0-I3) = B'1111;
SR.FD = 0;
Initialize_CPU();
Initialize_Module(PowerOn);
PC = H'A000 0000;

Related parts for r5s77631ay266bgv