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

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
set_pullup( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
256
set_Pullup(state [, pin])
Pins are defined in the devices .h file. The actual number is a bit address. For
example, port a (byte 0x2C2 ) bit 3 would have a value of 0x2C2*8+3 or 5651
. This is defined as follows: #DEFINE PIN_A3 5651. The pin could also be a
variable that has a value equal to one of the predefined pin constants. Note if no
pin is provided in the function call, then all of the pins are set to the passed in
state.
State is either true or false.
undefined
Sets the pin's pull up state to the passed in state value. If no pin is included in the
function call, then all valid pins are set to the passed in state.
All devices.
Pin constants are defined in the devices .h file.
set_pullup(true, PIN_B0);
None
None
//Sets pin B0's pull up state to true
//Sets all pin's pull up state to false
set_pullup(false);

Related parts for PCDIDE COMPILER