#include <SQ013L.h>
#define SET_BIT(VAR, BIT)VAR = (VAR | (0x0000000000000001 << BIT))
#define CLEAR_BIT(VAR, BIT) VAR = (VAR & (~(0x0000000000000001 << BIT)))
#define GET_BIT(VAR, BIT) ((VAR >> BIT) & 0x0000000000000001)
(0x0000000000000001 ,怎么要这么多位数?HC18P235L也可以这么用吧? |