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

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
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 PCDIDE COMPILER