Datasheet

bit type
The mikroC PRO Compiler provides a bit data type that may be used for variable
declarations. It can not be used for argument lists, and function-return values.
bit bf; // bit variable
There are no pointers to bit variables:
bit *ptr; // invalid
An array of type bit is not valid:
bit arr [5]; // invalid
Note :
- Bit variables can not be initialized.
- Bit variables can not be members of structures and unions.
- Bit variables do not have addresses, therefore unary operator & (address
of) is not applicable to these variables.
Related topics: Bit fields, Predefined globals and constants
101
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Specifics
mikroC PRO for AVR
CHAPTER 3