
82
CHAPTER 3 MEMORY SPACE, CPU AND CONTROL UNIT
3.11.10 Retaining a Reset Source
The system stores the last generated reset source. All related flags are set to 0 during
a read access.
A source flag that was set remains as long as it is not read.
■
Block diagram of the reset source retention circuit
Figure 3.11-8 "Block diagram of the reset source retention circuit" shows the block diagram of
the reset source retention circuit.
Figure 3.11-8 Block diagram of the reset source retention circuit
■
Setting
No special setting is required to use this function. Set the instruction for reading the reset source
register and the instruction for branching to an appropriate program at the beginning of the
program to be stored at the reset entry address.
[Example]
ERST
PONR
WDOG
SRST
ERST
PONR
WDOG
SRST
watch-dog Timer
reset detect Circuit
SRST
decoder
.or.
Power-on detection
Internal bus
RST pin
Reset input circuit
Status
transition
circuit
RESET-ENTRY
LDI:32 #RSRR,R10
LDI:8 #10000000B,R2
LDUB @R10,R1
; GET RSRR VALUE INTO R1
MOV R1,R10
; R10 USED AS A TEMPORARY REGISTER
AND R2,R10
; WAS PONR RESET?
BNE PONR-RESET
LSR #1,R2
; POINT NEXT BIT
MOV R1,R10
; R10 USED AS A TEMPORARY REGISTER
AND R2,R10
; WAS WATCH DOG RESET?
BNE WDOG-RESET
...
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......