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

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