WB32F10x Standard Peripherals Firmware Library

Macros
Exported_macro
CMSIS » Wb32f10x

## Macros
#define | SET_BIT(REG, BIT) ((REG) |= (BIT))
#define | CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT))
#define | READ_BIT(REG, BIT) ((REG) & (BIT))
#define | CLEAR_REG(REG) ((REG) = (0x0))
#define | WRITE_REG(REG, VAL) ((REG) = (VAL))
#define | READ_REG(REG) ((REG))
#define | MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))

## Detailed Description