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

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
bit_set( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
bit_test( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
bit_set(var, bit)
var may be any variable (any lvalue)
bit is a number 0- 63 representing a bit number, 0 is the least significant bit.
Undefined
Sets the specified bit in the given variable. The least significant bit is 0. This
function is the similar to: var |= (1<<bit);
All devices
Nothing
int x;
x=5;
bit_set(x,3);
// x is now 13
ex_patg.c
bit_clear(),
value = bit_test (var, bit)
var may be a any bit variable (any lvalue)
bit is a number 0- 63 representing a bit number, 0 is the least significant bit.
0 or 1
Tests the specified bit in the given variable. The least significant bit is 0. This
function is much more efficient than, but otherwise similar to: ((var & (1<<bit)) != 0)
All devices
Nothing
bit_test()
165

Related parts for PCDIDE COMPILER