WB32L003 Standard Peripherals Firmware Library

Macros
Exported_macro
CMSIS » Wb32l003

## 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)))
#define | CLEAR_WPBIT(REG, CLEARMASK, WPKEY) WRITE_REG((REG), ((READ_REG(REG)) & (~(CLEARMASK))) | WPKEY)

## Detailed Description