PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 255

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
restart_wdt( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
restart_wdt()
None
undefined
Restarts the watchdog timer. If the watchdog timer is enabled, this must be called
periodically to prevent the processor from resetting.
The watchdog timer is used to cause a hardware reset if the software appears to
be stuck.
The timer must be enabled, the timeout time set and software must periodically
restart the timer. These are done differently on the PCB/PCM and PCH parts as
follows:
Enable/Disable
Timeout time
restart
All devices
#FUSES
#fuses WDT
main() {
}
ex_wdt.c
#FUSES, setup_wdt(),
setup_wdt(WDT_2304MS);
while (TRUE) {
}
restart_wdt();
perform_activity();
// PCB/PCM example
// See setup_wdt for a PIC18 example
WDT or Watch Dog Timer Overview
PCB/PCM
#fuses
setup_wdt()
restart_wdt()
PCH
setup_wdt()
#fuses
restart_wdt()
241

Related parts for PCWHD IDE COMPILER