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

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
Availability:
Requires:
Examples:
Example Files:
Also See:
ext_int_edge( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
All devices
#INCLUDE <math.h>
// Calculate x to the power of y
x_power_y = exp( y * log(x) );
None
pow(), log(),
ext_int_edge (source, edge)
source is a constant 0,1 or 2 for the PIC18XXX and 0 otherwise. Source is
optional and defaults to 0.
edge is a constant H_TO_L or L_TO_H representing "high to low" and "low to
high"
undefined
Determines when the external interrupt is acted upon. The edge may be
L_TO_H or H_TO_L to specify the rising or falling edge.
Only devices with interrupts (PCM and PCH)
Constants are in the devices .h file
ext_int_edge( 2, L_TO_H); // Set up PIC18 EXT2
ext_int_edge( H_TO_L );
ex_wakup.c
#INT_EXT, enable_interrupts(), disable_interrupts,
log10()
// Sets up EXT
Interrupts Overview
181

Related parts for PCWHD IDE COMPILER