def clear_bits(self, value: int) -> int:
    'Like write, but &= ~.'
    self.next_value &= (~ value)
    return self._next_sw_read()
Like write, but &= ~.
def clear_bits(self, value: int) -> int:
    
    self.next_value &= (~ value)
    return self._next_sw_read()