SW006010 Microchip Technology, SW006010 Datasheet - Page 50

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
apRNOVS^-page 46
C17 C Compiler Libraries
isWDTTO (Continued)
Return Value:
File Name:
Code Example:
isWDTWU
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
isWU
Device:
Function:
Include:
Prototype:
Arguments:
This function returns 1 if the reset was due to the WDT during
normal operation, otherwise 0 is returned.
reset16.c
while(!isWDTTO())
PIC17C4X, PIC17C756
Detects when the WDT wakes up the device from
reset16.h
char isWDTWU (void);
None
This function detects if the microcontroller was brought out of
SLEEP
status bits:
PIC17C4X
PIC17C756
Include the statement
reset16.h
reset16.c
on compilers. Refer to the MPASM™ User's Guide with
MPLINK™ and MPLIB™ (DS33014) for information on linking.
This function returns 1 if device was brought out of
WDT, otherwise 0 is returned.
reset16.c
if(isWDTWU());
PIC17C4X, PIC17C756
Detects if the microcontroller was just waken up from SLEEP via
the MCLR pin or interrupt.
reset16.h
char isWU (void);
None
then ...
TO
PD
POR
BOR
TO
PD
= 0
= 0
= 0
= 0
by the WDT. This condition is indicated by the following
= 1
= 1
. After the definitions have been made, compile the
file. Refer to Chapter 2 of this manual for information
;
#define WDT_ENABLED
 2002 Microchip Technology Inc.
in the header file
SLEEP
SLEEP
.
by the

Related parts for SW006010