#include <bits16.h>
Definition at line 25 of file bits16.h.
◆ BITS16() [1/2]
◆ BITS16() [2/2]
BITS16::BITS16 |
( |
uint16_t |
init | ) |
|
|
inline |
◆ bit()
bool BITS16::bit |
( |
uint8_t |
bit_num | ) |
const |
|
inline |
Definition at line 57 of file bits16.h.
59 return (
val >> bit_num) & 01;
◆ set_bit()
void BITS16::set_bit |
( |
uint8_t |
bit_num, |
|
|
bool |
value |
|
) |
| |
|
inline |
◆ turn_off_bit()
void BITS16::turn_off_bit |
( |
uint8_t |
bit_num | ) |
|
|
inline |
◆ turn_on_bit()
void BITS16::turn_on_bit |
( |
uint8_t |
bit_num | ) |
|
|
inline |
◆ val
The documentation for this class was generated from the following file:
- /usr/src/tesseract-ocr.master/src/ccutil/bits16.h