Fujitsu FR81S User Manual

Page of 2342
CHAPTER 7: RESET 
 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : 
RESET 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
27 
5.2.9.   Software Reset (RSTCR:SRST) 
The software reset (RSTCR:SRST) is shown. 
It is a software reset generated inside of the device.   
This reset will be issued when you read RSTCR after writing "1" to the bit0: SRST bit of the RSTCR. 
Resets due to this reset factor will be detected as an irregular reset only at the time of reset timeout. Other than 
the irregular reset detection, a reset (RST) will be issued.   
[Example] Sample program of a software reset issue 
LDI 
#value_of_reset, R0  
; SRST bit=1 
LDI 
#_RSTCR, R12 
 
STB 
R0, @R12 
 
; Write 
LDUB 
@R12, R0 
 
; Read (generation of a software reset request)   
MOV 
R0, R0   
 
; Dummy processing for pipeline adjustment 
NOP 
 
 
 
; Dummy processing for pipeline adjustment 
MB91520 Series
MN705-00010-1v0-E
280