40 val = val | 01 << bit_num;
45 val = val & ~(01 << bit_num);
52 val = val | 01 << bit_num;
54 val = val & ~(01 << bit_num);
58 uint8_t bit_num)
const {
59 return (val >> bit_num) & 01;
void turn_off_bit(uint8_t bit_num)
bool bit(uint8_t bit_num) const
void turn_on_bit(uint8_t bit_num)
void set_bit(uint8_t bit_num, bool value)