Home
last modified time | relevance | path

Searched refs:IS_SET (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-2.7.6/drivers/i2c/
Di2c_sifive.c22 #define IS_SET(config, reg, value) (sys_read8(I2C_REG(config, reg)) & (value)) macro
74 return IS_SET(config, REG_STATUS, SF_STATUS_TIP); in i2c_sifive_busy()
100 if (IS_SET(config, REG_STATUS, SF_STATUS_RXACK)) { in i2c_sifive_send_addr()
148 if (IS_SET(config, REG_STATUS, SF_STATUS_RXACK)) { in i2c_sifive_write_msg()