Searched refs:addr_width (Results 1 – 14 of 14) sorted by relevance
60 aos_status_t _i2c_master_set_addr_mode (i2c_master_dev_t *master, uint32_t addr_width) { in _i2c_master_set_addr_mode() argument64 if (master->addr_width == addr_width) in _i2c_master_set_addr_mode()67 if (addr_width == I2C_SLAVE_ADDR_WIDTH_7BIT) { in _i2c_master_set_addr_mode()69 } else if (addr_width <= I2C_SLAVE_ADDR_WIDTH_10BIT) { in _i2c_master_set_addr_mode()73 ddkc_warn("invalid addr mode:%d, set to 7 bit mode by default\r\n", addr_width); in _i2c_master_set_addr_mode()84 master->addr_width = addr_width; in _i2c_master_set_addr_mode()133 master->addr_width = 0x0; in aos_i2c_open()339 aos_status_t aos_i2c_addr_width_set (i2c_dev_handle_t dev_h, uint32_t addr_width) { in aos_i2c_addr_width_set() argument357 slave->config.addr_width = addr_width; in aos_i2c_addr_width_set()430 ret = _i2c_master_set_addr_mode(master, slave->config.addr_width); in _i2c_tx_rx_prepare()
43 …uint32_t addr_width; /**< used to log i2c host's current address width mode setting, if curren… member
163 …ret += aos_i2c_addr_width_set(slave, c->c.addr_width ? I2C_SLAVE_ADDR_WIDTH_10BIT : I2C_SLAVE_ADDR… in i2c_device_ioctl()279 config.addr_width = I2C_SLAVE_ADDR_WIDTH_7BIT; // set to 7-bit address mode by default in i2c_device_open()
46 uint32_t addr_width; /**< device's address mode: 7 bit or 10 bit */ member91 aos_status_t aos_i2c_addr_width_set (i2c_dev_handle_t dev, uint32_t addr_width);
191 mp_int_t addr_width = args[ARG_addrsize].u_int; in machine_hw_i2c_make_new() local194 mp_int_t freq = addr_width = args[ARG_freq].u_int; in machine_hw_i2c_make_new()207 dev->config.address_width = addr_width; in machine_hw_i2c_make_new()
31 unsigned int addr_width:2; /**< 0:7-bit地址模式;1:10-bit地址模式 */ member
29 c.c.addr_width = 0; in vfs_i2c_test()106 config.addr_width = I2C_SLAVE_ADDR_WIDTH_7BIT; in aos_i2c_test()229 config.addr_width = I2C_SLAVE_ADDR_WIDTH_7BIT; in aos_i2c_mem_test()
236 mp_int_t addr_width = args[ARG_addrsize].u_int; in machine_hw_i2c_make_new() local252 dev->config.address_width = addr_width; in machine_hw_i2c_make_new()
37 c.c.addr_width = address_width; /* 7-bit address */ in sensor_i2c_open()
44 c.c.addr_width = i2c->config.address_width; /* 7-bit address */ in aos_hal_i2c_init()
50 i2c_ctrl.c.addr_width = i2c->config.address_width; /* 7-bit address */ in pca9544_i2c_init()
92 c.c.addr_width = 0; // I2C从设备地址宽度为7-bit
48 i2c_ctrl.c.addr_width = i2c->config.address_width; /* 7-bit address */ in vfs_i2c_init()
Completed in 16 milliseconds