| /bsp/stm32/libraries/STM32L1xx_HAL/CMSIS/Device/ST/STM32L1xx/Include/ |
| A D | stm32l1xx.h | 216 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument 238 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument 242 val = (__LDREXW((__IO uint32_t *)&(REG)) & ~(CLEARMSK)) | (SETMASK); \ 265 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument 269 val = (__LDREXH((__IO uint16_t *)&(REG)) & ~(CLEARMSK)) | (SETMASK); \
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/tpadc/ |
| A D | common_tpadc.h | 41 #define SETMASK(width, shift) ((width?((-1U) >> (32-width)):0) << (shift)) macro 42 #define CLRMASK(width, shift) (~(SETMASK(width, shift))) 44 (((reg) & SETMASK(width, shift)) >> (shift))
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/ |
| A D | sunxi_hal_pwm.h | 66 #define SETMASK(width, shift) ((width?((-1U) >> (32-width)):0) << (shift)) macro 67 #define CLRMASK(width, shift) (~(SETMASK(width, shift))) 69 (((reg) & SETMASK(width, shift)) >> (shift))
|
| /bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/CMSIS/Include/ |
| A D | fm33xx.h | 93 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/fm33lc026/libraries/FM/FM33xx/Include/ |
| A D | fm33xx.h | 93 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Inc/ |
| A D | fm33lc0xx_fl_def.h | 52 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/ft32/libraries/FT32F0xx/CMSIS/FT32F0xx/Include/ |
| A D | ft32f0xx.h | 91 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/nuvoton/libraries/nu_packages/NuUtils/inc/ |
| A D | nu_miscutil.h | 33 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi/ |
| A D | clk.h | 80 #define SETMASK(width, shift) ((width?((-1U) >> (32-width)):0) << (shift)) macro 81 #define CLRMASK(width, shift) (~(SETMASK(width, shift))) 87 (((reg) & SETMASK(width, shift)) >> (shift))
|
| /bsp/hc32l196/Libraries/HC32L196_StdPeriph_Driver/inc/ |
| A D | hc32l196_ddl.h | 91 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/CMSIS/HK32F0xx/Include/ |
| A D | hk32f0xx.h | 120 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/mm32f327x/Libraries/MM32F327x/Include/ |
| A D | types.h | 99 #define MODIFY_REG(reg, CLEARMASK, SETMASK) WRITE_REG((reg), (((READ_REG(reg)) & (~(CLEARMASK))) |… argument
|
| /bsp/rockchip/common/rk_hal/lib/hal/inc/ |
| A D | hal_def.h | 39 #define MODIFY_REG(REG, CLEARMASK, SETMASK) \ argument 40 …WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK))) /**< Clear and set the value…
|
| /bsp/tae32f5300/Libraries/TAE32F53xx_StdPeriph_Driver/inc/ |
| A D | tae32f53xx_ll_def.h | 250 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | … argument
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/ |
| A D | include.h | 68 #define SETMASK(width, shift) ((width?((-1U) >> (32-width)):0) << (shift)) macro 69 #define CLRMASK(width, shift) (~(SETMASK(width, shift))) 71 (((reg) & SETMASK(width, shift)) >> (shift))
|
| /bsp/mm32l3xx/Libraries/MM32L3xx/Include/ |
| A D | MM32L3xx.h | 4358 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~CLEARMASK)) | (… argument
|
| /bsp/mm32f103x/Libraries/MM32F103/Include/ |
| A D | MM32F103.h | 4367 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~CLEARMASK)) | (… argument
|
| /bsp/apm32/libraries/APM32S10x_Library/Device/Geehy/APM32S10x/Include/ |
| A D | apm32s10x.h | 4516 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/tkm32F499/Libraries/CMSIS_and_startup/ |
| A D | tk499.h | 4662 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~CLEARMASK)) | (… argument
|
| /bsp/mm32l07x/Libraries/MM32L0xx/Include/ |
| A D | MM32L0xx.h | 4947 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~CLEARMASK)) | (… argument
|
| /bsp/apm32/libraries/APM32E10x_Library/Device/Geehy/APM32E10x/Include/ |
| A D | apm32e10x.h | 6098 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/apm32/libraries/APM32F0xx_Library/Device/Geehy/APM32F0xx/Include/ |
| A D | apm32f0xx.h | 5651 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/apm32/libraries/APM32F10x_Library/Device/Geehy/APM32F10x/Include/ |
| A D | apm32f10x.h | 7114 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/airm2m/air32f103/libraries/AIR32F10xLib/inc/ |
| A D | air32f10x.h | 7140 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/apm32/libraries/APM32F4xx_Library/Device/Geehy/APM32F4xx/Include/ |
| A D | apm32f4xx.h | 7479 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|