SW006010 Microchip Technology, SW006010 Datasheet - Page 49
SW006010
Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
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
- Current page: 49 of 136
- Download datasheet (2Mb)
2002 Microchip Technology Inc.
isPOR
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
isWDTTO
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
PIC17C4X, PIC17C756
Detects a Power-on Reset condition.
reset16.h
char isPOR (void);
None
This function detects if the microcontroller just left a Power-on
Reset. This condition is indicated by the following status bits:
PIC17C4X
This condition also for MCLR reset during normal operation and
CLRWDT
PIC17C756
This function returns 1 if the device just left a Power-on Reset,
otherwise 0 is returned.
reset16.c
if(isPOR());
PIC17C4X, PIC17C756
Detects a reset condition due to the WDT during normal
operation.
reset16.h
char isWDTTO (void);
None
This function detects if the microcontroller was reset due to the
WDT during normal operation. This condition is indicated by the
following 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.
then ...
TO = 1
PD = 1
POR = 0
BOR = 0
TO = 1
PD = 1
TO
PD
POR
BOR
TO
PD
= 0
= 1
= 0
= 1
= 1
= 1
instruction executed.
Hardware Peripheral Library
file. Refer to Chapter 2 of this manual for information
After the definitions have been made, compile the
#define WDT_ENABLED
in the header file
apRNOVS^-page 45
Related parts for SW006010
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: