|
C8051F336_08 Datasheet, PDF (105/227 Pages) Silicon Laboratories – Mixed-Signal Byte-Programmable EPROM MCU | |||
|
◁ |
C8051F336/7/8/9
SFR Definition 17.2. RSTSRC: Reset Source
Bit
7
6
5
4
3
2
1
0
Name
FERROR C0RSEF SWRSF WDTRSF MCDRSF PORSF PINRSF
Type
R
R
R/W
R/W
R
R/W
R/W
R
Reset
0
Varies
Varies
Varies
Varies
Varies
Varies
Varies
SFR Address = 0xEF
Bit Name
Description
Write
Read
7 UNUSED Unused.
Donât care.
0
6 FERROR Flash Error Reset Flag.
N/A
Set to â1â if Flash
read/write/erase error
caused the last reset.
5 C0RSEF Comparator0 Reset Enable Writing a â1â enables
and Flag.
Comparator0 as a reset
source (active-low).
Set to â1â if Comparator0
caused the last reset.
4 SWRSF Software Reset Force and Writing a â1â forces a sys- Set to â1â if last reset was
Flag.
tem reset.
caused by a write to
SWRSF.
3 WDTRSF Watchdog Timer Reset Flag. N/A
Set to â1â if Watchdog
Timer overflow caused the
last reset.
2 MCDRSF Missing Clock Detector
Enable and Flag.
Writing a â1â enables the Set to â1â if Missing Clock
Missing Clock Detector. Detector timeout caused
The MCD triggers a reset the last reset.
if a missing clock condition
is detected.
1 PORSF Power-On / VDD Monitor
Writing a â1â enables the Set to â1â anytime a power-
Reset Flag, and VDD monitor
Reset Enable.
VDD monitor as a reset
source.
on or VDD monitor reset
occurs.
Writing â1â to this bit
When set to â1â all other
before the VDD monitor RSTSRC flags are inde-
is enabled and stabilized terminate.
may cause a system
reset.
0 PINRSF HW Pin Reset Flag.
N/A
Set to â1â if RST pin
caused the last reset.
Note: Do not use read-modify-write operations on this register
Rev.1.0
105
|
▷ |