gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 179

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
15.35 PWM 0 Control Register (PWM0CON)
Bit No.
DCh
WTRF
EWT
RWT
MiDAS1.0 Family
R/W(0)
P0SEL
7
Watchdog Timer Reset Flag. When set, this bit indicates that a watchdog timer reset has
occurred. It is typically interrogated to determine if a reset was caused by watchdog
timer reset. It is cleared by a power-on-reset, but otherwise must be cleared by
software before the next reset of any kind or software may erroneously determine that a
watchdog timer reset has occurred. Setting this bit in software will not generate a
watchdog timer reset. If the EWT bit is cleared, the watchdog timer will have no effect
on this bit.
Enable Watchdog Timer Reset. This bit enables/disables the ability of the watchdog
timer to reset the device. This bit has no effect on the ability of the watchdog timer to
generate a watchdog interrupt. The time-out period of the watchdog timer is controlled
by the Watchdog Timer Mode Select bits (CKCON.7-6). Clearing these bits will disable
the ability of the watchdog timer to generate a reset, but have no affect on the timer
itself, or its ability to generate a watchdog timer interrupt.
0: A time-out of the watchdog timer will not cause the device to reset.
1: A time-out of the watchdog timer will cause the device to reset.
Reset Watchdog Timer. This bit serves as the strobe for the Watchdog function. During
the time-out period, software must set the RWT bit if the Watchdog is enabled. Failing
to set the RWT will cause a reset when the time-out has elapsed. There is no need to
set the RWT bit to a 0 because it is self-clearing.
0
0
1
1
R/W(0)
PS2_P0
6
0
1
0
1
R/W(0)
PS1_P0
1
1
1
1
5
Watchdog time-out has expired. No interrupt has been
generated.
Watchdog interrupt has occurred.
Watchdog time-out has expired. No interrupt has been
generated. Watchdog timer reset will occur in 512 cycles if RWT
is not strobed.
Watchdog interrupt has occurred. Watchdog timer reset will
occur in 512 cycles if RWT is not set.
R/W(0)
PS0_P0
Page 179 of 187
4
MODE_P0
R/W(0)
3
R/W(0)
RL_P0
2
R/W(0)
CLR_P0
1
R/W(0)
RUN_P0
0
PWM0CON

Related parts for gc80c520a