Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_sifive.c23 #define IS_SET(config, reg, value) (sys_read8(I2C_REG(config, reg)) & (value)) macro
75 return IS_SET(config, REG_STATUS, SF_STATUS_TIP); in i2c_sifive_busy()
101 if (IS_SET(config, REG_STATUS, SF_STATUS_RXACK)) { in i2c_sifive_send_addr()
149 if (IS_SET(config, REG_STATUS, SF_STATUS_RXACK)) { in i2c_sifive_write_msg()