Home
last modified time | relevance | path

Searched defs:REG (Results 1 – 25 of 112) sorted by relevance

12345

/bsp/stm32/libraries/STM32L1xx_HAL/CMSIS/Device/ST/STM32L1xx/Include/
A Dstm32l1xx.h204 #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 Dfm33xx.h81 #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 Dfm33xx.h81 #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 Dft32f0xx.h79 #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 Dfm33lc0xx_fl_def.h46 #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 Dhc32l196_ddl.h79 #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 Dnu_miscutil.h27 #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 Dhk32f0xx.h108 #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 Dhal_def.h33 #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 Dtae32f53xx_ll_def.h203 #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 Dstm32l1xx_hal_def.h62 #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 Defm32gg_burtc_ret.h38 __IO uint32_t REG; /**< Retention register */ member
/bsp/rockchip/common/rk_hal/lib/hal/src/pinctrl/
A Dhal_pinctrl_iofunc.c58 #define _IOMUX_WRITE(REG, DATA, SHIFT, MASK) \ argument
/bsp/stm32/stm32f407-atk-explorer/board/ports/
A Ddrv_lcd.h43 __IO uint16_t REG; member
/bsp/acm32/acm32f0x0-nucleo/libraries/Device/
A DACM32F0x0.h732 #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 Ddrv_pin.c45 #define __LPC55S69_PIN(INDEX, REG, PORT, PIN) {INDEX, REG, PORT, PIN} argument
/bsp/acm32/acm32f4xx-nucleo/libraries/Device/
A DACM32F4.h817 #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 Dn32g45x_eth.h270 #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 Dn32g45x_eth.h270 #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 Defm32g880f128.h398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
A Defm32g880f32.h398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
A Defm32g880f64.h398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
A Defm32g890f128.h398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
A Defm32g890f32.h398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument
A Defm32g890f64.h398 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \ argument

Completed in 63 milliseconds

12345