| /bsp/stm32/libraries/STM32L1xx_HAL/CMSIS/Device/ST/STM32L1xx/Include/ |
| A D | stm32l1xx.h | 204 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 206 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 208 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 210 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 212 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 214 #define READ_REG(REG) ((REG)) argument 220 #define ATOMIC_SET_BIT(REG, BIT) \ argument 229 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument 238 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument 247 #define ATOMIC_SETH_BIT(REG, BIT) \ argument [all …]
|
| /bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/CMSIS/Include/ |
| A D | fm33xx.h | 81 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 83 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 85 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 87 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 89 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 91 #define READ_REG(REG) ((REG)) argument 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 | 81 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 83 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 85 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 87 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 89 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 91 #define READ_REG(REG) ((REG)) argument 93 #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 | 79 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 81 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 83 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 85 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 87 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 89 #define READ_REG(REG) ((REG)) argument 91 #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 | 46 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 47 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 48 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 49 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 50 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 51 #define READ_REG(REG) ((REG)) argument 52 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
|
| /bsp/hc32l196/Libraries/HC32L196_StdPeriph_Driver/inc/ |
| A D | hc32l196_ddl.h | 79 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 81 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 83 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 85 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 87 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 89 #define READ_REG(REG) ((REG)) argument 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 | 27 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 28 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 29 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 30 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 31 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 32 #define READ_REG(REG) ((REG)) argument 33 #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 | 108 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 110 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 112 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 114 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 116 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 118 #define READ_REG(REG) ((REG)) argument 120 #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 | 33 #define SET_BIT(REG, BIT) ((*(volatile uint32_t *)&(REG)) |= (BIT)) /**< Set 1 to the reg… argument 34 #define CLEAR_BIT(REG, MASK) ((*(volatile uint32_t *)&(REG)) &= ~(MASK)) /**< Clear the specif… argument 35 #define READ_BIT(REG, MASK) ((*(volatile const uint32_t *)&(REG)) & (MASK)) /**< Read the value o… argument 36 #define CLEAR_REG(REG) ((*(volatile uint32_t *)&(REG)) = (0x0)) /**< Write 0 to the r… argument 37 #define WRITE_REG(REG, VAL) ((*(volatile uint32_t *)&(REG)) = (VAL)) /**< Write the regist… argument 38 #define READ_REG(REG) ((*(volatile const uint32_t *)&(REG))) /**< Read the registe… argument 39 #define MODIFY_REG(REG, CLEARMASK, SETMASK) \ argument 55 #define HAL_IS_BIT_SET(REG, MASK) (((*(volatile uint32_t *)&(REG)) & (MASK)) != RESET) /**< Check … argument 56 #define HAL_IS_BIT_CLR(REG, MASK) (((*(volatile uint32_t *)&(REG)) & (MASK)) == RESET) /**< Check … argument
|
| /bsp/tae32f5300/Libraries/TAE32F53xx_StdPeriph_Driver/inc/ |
| A D | tae32f53xx_ll_def.h | 203 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 211 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 219 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 226 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 234 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 241 #define READ_REG(REG) ((REG)) argument 250 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | … argument
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_hal_def.h | 62 #define HAL_IS_BIT_SET(REG, BIT) (((REG) & (BIT)) == (BIT)) argument 63 #define HAL_IS_BIT_CLR(REG, BIT) (((REG) & (BIT)) == 0U) argument
|
| /bsp/efm32/Libraries/Device/EnergyMicro/EFM32GG/Include/ |
| A D | efm32gg_burtc_ret.h | 38 __IO uint32_t REG; /**< Retention register */ member
|
| /bsp/rockchip/common/rk_hal/lib/hal/src/pinctrl/ |
| A D | hal_pinctrl_iofunc.c | 58 #define _IOMUX_WRITE(REG, DATA, SHIFT, MASK) \ argument
|
| /bsp/stm32/stm32f407-atk-explorer/board/ports/ |
| A D | drv_lcd.h | 43 __IO uint16_t REG; member
|
| /bsp/acm32/acm32f0x0-nucleo/libraries/Device/ |
| A D | ACM32F0x0.h | 732 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 734 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 736 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 738 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 740 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 742 #define READ_REG(REG) ((REG)) argument 744 #define MODIFY_REG(REG,MASK,BITS) ((REG) = (((REG)&(~(MASK)))|((BITS)&(MASK)))) argument
|
| /bsp/nxp/lpc/lpc55sxx/Libraries/drivers/ |
| A D | drv_pin.c | 45 #define __LPC55S69_PIN(INDEX, REG, PORT, PIN) {INDEX, REG, PORT, PIN} argument
|
| /bsp/acm32/acm32f4xx-nucleo/libraries/Device/ |
| A D | ACM32F4.h | 817 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument 819 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument 821 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument 823 #define CLEAR_REG(REG) ((REG) = (0x0)) argument 825 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument 827 #define READ_REG(REG) ((REG)) argument 829 #define MODIFY_REG(REG,MASK,BITS) ((REG) = (((REG)&(~(MASK)))|((BITS)&(MASK)))) argument
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/inc/ |
| A D | n32g45x_eth.h | 270 #define IS_ETH_PHY_REG(REG) ((REG) < 0x20) argument 1369 #define IS_ETH_MMC_REGISTER(REG) … argument 1425 #define IS_ETH_PTP_REGISTER(REG) … argument
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/inc/ |
| A D | n32g45x_eth.h | 270 #define IS_ETH_PHY_REG(REG) ((REG) < 0x20) argument 1369 #define IS_ETH_MMC_REGISTER(REG) … argument 1425 #define IS_ETH_PTP_REGISTER(REG) … argument
|
| /bsp/efm32/Libraries/Device/EnergyMicro/EFM32G/Include/ |
| A D | efm32g880f128.h | 398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
|
| A D | efm32g880f32.h | 398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
|
| A D | efm32g880f64.h | 398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
|
| A D | efm32g890f128.h | 398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
|
| A D | efm32g890f32.h | 398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
|
| A D | efm32g890f64.h | 398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
|