Home
last modified time | relevance | path

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

/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/toolchain/gr551x/include/
Dgr55xx.h110 #define SET_BITS(REG, BIT) ((REG) |= (BIT)) argument
114 #define CLEAR_BITS(REG, BIT) ((REG) &= ~(BIT)) argument
118 #define READ_BITS(REG, BIT) ((REG) & (BIT)) argument
122 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
126 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
130 #define READ_REG(REG) ((REG)) argument
134 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/drivers/inc/
Dgr55xx_hal_def.h102 #define HAL_IS_BIT_SET(REG, BIT) (((REG) & (BIT)) != RESET) argument
109 #define HAL_IS_BIT_CLR(REG, BIT) (((REG) & (BIT)) == RESET) argument