SW006010 Microchip Technology, SW006010 Datasheet - Page 51

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
 2002 Microchip Technology Inc.
2.10.2
There are no interdependencies between reset functions. See individual function code
examples.
isWU (Continued)
Remarks:
Return Value:
File Name:
Code Example:
StatusReset
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
Example of Use
This function detects if the microcontroller was brought out of
SLEEP
indicated by the
PIC17C4X
PIC17C756
This function returns 1 if the device was brought out of
the MCLR pin or an interrupt, otherwise 0 is returned.
reset16.c
if(isWU());
PIC17C756
Sets the
reset16.h
void StatusReset (void);
None
This function sets the
These bits must be set in software after a Power-on Reset has
occurred.
None
reset16.c
if(StatusReset());
then ...
then ...
TO
PD
POR
BOR
TO
PD
= 1
= 0
= 1
= 0
by the MCLR pin or an interrupt. This condition is
= 1
= 1
POR
Hardware Peripheral Library
and
following status bits:
BOR
bits in the
POR
and
BOR
CPUSTA
bits in the
register.
CPUSTA
apRNOVS^-page 47
register.
SLEEP
by

Related parts for SW006010