File stm32.h
FileList > fw > rbcx-coprocessor > lib > libusb_stm32 > include > stm32.h
Go to the source code of this file.
Macros
Type | Name |
---|---|
define | _BCL (reg, bits) (reg) = ((reg) & ~(bits)) |
define | _BMD (reg, msk, val) (reg) = (((reg) & ~(msk)) | (val)) |
define | _BST (reg, bits) (reg) = ((reg) | (bits)) |
define | _BV (bit) (0x01 << (bit)) |
define | _WBC (reg, bits) while(((reg) & (bits)) != 0) |
define | _WBS (reg, bits) while(((reg) & (bits)) == 0) |
define | _WVL (reg, msk, val) while(((reg) & (msk)) != (val)) |
Macro Definition Documentation
define _BCL
#define _BCL (
reg,
bits
) (reg) = ((reg) & ~(bits))
define _BMD
#define _BMD (
reg,
msk,
val
) (reg) = (((reg) & ~(msk)) | (val))
define _BST
#define _BST (
reg,
bits
) (reg) = ((reg) | (bits))
define _BV
#define _BV (
bit
) (0x01 << (bit))
define _WBC
#define _WBC (
reg,
bits
) while(((reg) & (bits)) != 0)
define _WBS
#define _WBS (
reg,
bits
) while(((reg) & (bits)) == 0)
define _WVL
#define _WVL (
reg,
msk,
val
) while(((reg) & (msk)) != (val))
The documentation for this class was generated from the following file fw/rbcx-coprocessor/lib/libusb_stm32/include/stm32.h