PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 102
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
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
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
- Current page: 102 of 373
- Download datasheet (4Mb)
WDT or Watch Dog Timer
Different chips provide different options to enable/disable or configure the WDT.
Relevant Functions:
setup_wdt()
restart_wdt()
For PCB/PCM chips it is enabled/disabled using WDT or NOWDT fuses whereas on PCH device it
is done using the setup_wdt function.
The timeout time for PCB/PCM chips are set using the setup_wdt function and on PCH using fuses
like WDT16, WDT256 etc.
RESTART_WDT when specified in #USE DELAY, #USE I2C and #USE RS232 statements like this
#USE DELAY(clock=20000000, restart_wdt) will cause the wdt to restart if it times out during the
delay or I2C_READ or GETC.
Relevant Preprocessor:
#FUSES WDT/NOWDT
#FUSES WDT16
Relevant Interrupts:
None
Relevant Include Files:
None, all functions built-in
Relevant getenv() parameters:
None
Example Code:
For eg:
For PIC16F877
#fuses wdt
For PIC18F452
#fuse WDT1
setup_wdt(WDT_ON);
while(true){
Some of the PCB chips are share the WDT prescalar bits with timer0 so the WDT prescalar
constants can be used with setup_counters or setup_timer0 or setup_wdt functions.
88
setup_wdt(WDT_2304MS);
while(true){
}
}
restart_wdt();
perform_activity();
restart_wdt();
perform_activity();
Enables/disables the wdt or sets the prescalar.
Restarts the wdt, if wdt is enables this must be periodically called to
prevent a timeout reset.
Enabled/Disables wdt in PCB/PCM devices
Sets ups the timeout time in PCH devices
Related parts for PCD COMMAND LINE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F6722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F8722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)