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

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
Internal Oscillator
Two internal oscillators are present in PCD compatible chips, a fast RC and slow RC oscillator
circuit. In many cases (consult your target datasheet or family data sheet for target specifics) the
fast RC oscillator may be connected to a PLL system, allowing a broad range of frequencies to be
selected. The Watchdog timer is derived from the slow internal oscillator.
Relevant Functions:
setup_oscillator( )
Relevant Preprocessor:
#FUSES
Relevant Interrupts:
#int_oscfail
Relevant Include Files:
None, all functions built-in
Relevant getenv() parameters:
CLOCK
FUSE_SETxxxx
Example Code:
None
Interrupts
The following functions allow for the control of the interrupt subsystem of the microcontroller. With
these functions, interrupts can be enabled, disabled, and cleared. With the preprocessor directives,
a default function can be called for any interrupt that does not have an associated isr, and a global
function can replace the compiler generated interrupt dispatcher.
Relevant Functions:
disable_interrupts()
enable_interrupts()
ext_int_edge()
clear_interrupt()
68
Explicitly configures the oscillator.
Specifies the values loaded in the device configuration memory.
May be used to setup the oscillator configuration.
Interrupts on oscillator failure
Returns the clock speed specified by #use delay()
Returns 1 if the fuse xxxx is set.
Disables the specified interrupt.
Enables the specified interrupt.
Enables the edge on which the edge interrupt should trigger. This
can be either rising or falling edge.
This function will clear the specified interrupt flag. This can be used
if a global isr is used, or to prevent an interrupt from being serviced.

Related parts for PCDIDE COMPILER