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

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_clear( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
bit_first( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
bit_clear(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.
undefined
Simply clears 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_clear(x,2);
// x is now 1
ex_patg.c
bit_set(),
N = bit_first (value, var)
value is a 0 to 1 to be shifted in
var is a 16 bit integer.
An 8 bit integer
This function sets N to the 0 based position of the first occurrence of value. The
search starts from the right or least significant bit.
30F/33F/24-bit devices
Nothing
Int16 var = 0x0033;
Int8 N = 0;
// N = 2
N = bit_first (0, var);
None
shift_right(), shift_left(), rotate_right(),
bit_test()
rotate_left()
163

Related parts for PCDIDE COMPILER