CMSIS + 0/27 examples
CodeScope will show references to MODIFY_REG from the following samples and libraries:
Drivers
Boards
Examples
STM32446E_EVAL
Examples
QSPI
STM32469I-Discovery
Applications
FileX
Examples
QSPI
STM32469I_EVAL
Examples
QSPI
STM324x9I_EVAL
Applications
USB_Device
STM324xG_EVAL
Applications
USB_Device
STM32F412G-Discovery
Examples
QSPI
STM32F413H-Discovery
Examples
QSPI
STM32F413ZH-Nucleo
Applications
USB_Device
STM32F429ZI-Nucleo
Applications
USB_Device
 
Symbols
loading...
Files
loading...

MODIFY_REG macro

Syntax

#define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))

Arguments

REG

CLEARMASK

SETMASK

Examples

MODIFY_REG is referenced by 27 libraries and example projects.

References

LocationText
stm32f4xx.h:223
#define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))