#include <bits16.h>
List of all members.
Detailed Description
Definition at line 25 of file bits16.h.
Constructor & Destructor Documentation
BITS16::BITS16 |
( |
| ) |
[inline] |
Member Function Documentation
Definition at line 56 of file bits16.h.
{
return (val >> bit_num) & 01;
};
void BITS16::set_bit |
( |
uinT8 |
bit_num, |
|
|
BOOL8 |
value |
|
) |
| [inline] |
Definition at line 47 of file bits16.h.
{
if (value)
val = val | 01 << bit_num;
else
val = val & ~(01 << bit_num);
};
void BITS16::turn_off_bit |
( |
uinT8 |
bit_num | ) |
[inline] |
void BITS16::turn_on_bit |
( |
uinT8 |
bit_num | ) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following files: