#include <bits16.h>
Definition at line 24 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 |
◆ 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 |
Definition at line 51 of file bits16.h.
53 return (
val >> bit_num) & 01;
◆ 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: