DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16LF1938-ESP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LF1938-ESP Datasheet PDF : 418 Pages
First Prev 61 62 63 64 65 66 67 68 69 70 Next Last
PIC16F193X/LF193X
3.4.2 WDT CONTROL
The WDTE<1:0> bits are located in the Configuration
Word Register 1. When set to ‘11’, the WDT runs
continuously. When entering Sleep the WDT is always
cleared. When set to ‘10’, the WDT is enabled while
running, and disabled during Sleep. When ‘01’ the
WDT is under control of the SWDTEN bit, and when
00’ the WDT is always disabled.
The WDTCON register contains the SWDTEN bit and
WDTPS<4:0> bits. When the WDTE<1:0> bits in the
Configuration Word 1 register are anything but ‘01’, the
SWDTEN bit has no effect. When WDTE = 01, the
SWDTEN bit can be used to enable and disable the
WDT. Setting the bit will enable the WDT and clearing
the bit will disable the WDT.
The WDTPS<4:0> bits control the prescaler. See
Register 3-1. The Reset value of WDTCON gives a
nominal WDT interval of ~2s. Upon Reset, the
SWDTEN value will leave the WDT disabled if
WDTE<1:0> is ‘01’ in the Configuration Word. The
prescaler will always be cleared on a Reset.
FIGURE 3-3:
WATCHDOG TIMER BLOCK DIAGRAM
WDTE<1:0> = 00
WDTE<1:0> = 01
SWDTEN
WDTE<1:0> = 11
WDTE<1:0> = 10
Sleep
LFINTOSC
23-bit Programmable
Prescaler WDT
WDTPS<4:0>
WDT Time-out
TABLE 3-3: WDT STATUS
Conditions
WDTE<1:0> = 00
WDTE<1:0> = 01 and SWDTEN = 0
WDTE<1:0> = 10 and enter Sleep
CLRWDT Command
Oscillator Fail Detected
Exit Sleep + System Clock = T1OSC, EXTRC, INTOSC, EXTCLK
Exit Sleep + System Clock = XT, HS, LP
Change INTOSC divider (IRCF bits)
WDT
Cleared
Cleared until the end of OST
Unaffected
DS41364B-page 60
Preliminary
© 2009 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]