PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 255

PCD C-COMPILER PIC24, DSPIC

PCD COMMAND LINE COMPILER

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

Specifications of PCD COMMAND LINE COMPILER

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