C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3
SFR Definition 13.2. RSTSRC: Reset Source
R
R/W
-
CNVRSEF C0RSEF SWRSEF WDTRSF MCDRSF
Bit7
Bit6
Bit7:
Reserved.
Bit6:
CNVRSEF: Convert Start 0 Reset Source Enable and Flag
Write:
0: CNVSTR0 is not a reset source.
1: CNVSTR0 is a reset source (active low).
Read:
0: Source of prior reset was not CNVSTR0.
1: Source of prior reset was CNVSTR0.
Bit5:
C0RSEF: Comparator0 Reset Enable and Flag.
Write:
0: Comparator0 is not a reset source.
1: Comparator0 is a reset source (active low).
Read:
0: Source of last reset was not Comparator0.
1: Source of last reset was Comparator0.
Bit4:
SWRSF: Software Reset Force and Flag.
Write:
0: No effect.
1: Forces an internal reset. RST pin is not effected.
Read:
0: Source of last reset was not a write to the SWRSF bit.
1: Source of last reset was a write to the SWRSF bit.
Bit3:
WDTRSF: Watchdog Timer Reset Flag.
0: Source of last reset was not WDT timeout.
1: Source of last reset was WDT timeout.
Bit2:
MCDRSF: Missing Clock Detector Flag.
Write:
0: Missing Clock Detector disabled.
1: Missing Clock Detector enabled; triggers a reset if a missing clock condition is detected.
Read:
0: Source of last reset was not a Missing Clock Detector timeout.
1: Source of last reset was a Missing Clock Detector timeout.
Bit1:
PORSF: Power-On Reset Flag.
Write: If the V
be written to select or de-select the V
0: De-select the V
1: Select the V
Important: At power-on, the V
enable pin (MONEN). The PORSF bit does not disable or enable the V
ply selects the V
Read: This bit is set whenever a power-on reset occurs. This may be due to a true power-on reset or a
V
monitor reset. In either case, data memory should be considered indeterminate following the
DD
reset.
0: Source of last reset was not a power-on or V
1: Source of last reset was a power-on or V
Note: When this flag is read as '1', all other reset flags are indeterminate.
Bit0:
PINRSF: HW Pin Reset Flag.
Write:
0: No effect.
1: Forces a Power-On Reset. RST is driven low.
Read:
0: Source of prior reset was not RST pin.
1: Source of prior reset was RST pin.
182
R/W
R/W
Bit5
Bit4
monitor circuitry is enabled (by tying the MONEN pin to a logic high state), this bit can
DD
monitor as a reset source.
DD
monitor as a reset source.
DD
monitor as a reset source.
DD
monitor is enabled/disabled using the external V
DD
monitor as a reset source.
DD
Rev. 1.4
R
R/W
R/W
PORSF
Bit3
Bit2
Bit1
monitor reset.
DD
monitor reset.
DD
R/W
Reset Value
PINRSF
00000000
Bit0
SFR Address:
0xEF
SFR Page:
0
monitor
DD
monitor circuit. It sim-
DD
Need help?
Do you have a question about the C8051F12 Series and is the answer not in the manual?
Questions and answers