Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_mchp_mss.c23 #define CORE_I2C_CTRL (0x00) macro
134 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_configure()
138 sys_write8((ctrl | PCLK_DIV_960), cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_configure()
141 sys_write8((ctrl | PCLK_DIV_256), cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_configure()
168 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_read()
177 sys_write8((ctrl | CTRL_STA), cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_read()
187 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_write()
206 sys_write8((ctrl | CTRL_STA), cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_write()
210 sys_write8((ctrl & ~CTRL_SI), cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_write()
246 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_reset()
[all …]