6 lines
174 B
C
6 lines
174 B
C
#pragma once
|
|
|
|
#define SET_BIT(byte, bit) ((byte) |= _BV(bit))
|
|
#define CLEAR_BIT(byte,bit) ((byte) &= ~_BV(bit))
|
|
#define IS_SET(byte,bit) (((byte) & (1UL << (bit))) >> (bit))
|