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

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
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 PCWHD IDE COMPILER