Lines Matching refs:addr
204 void (*set_hsmode_master_address)(i2c_bus_t *bus, int addr);
213 int (*set_self_slave_address)(i2c_bus_t *bus, int addr);
365 * @param[in] addr The address to assign to this bus. The RW bit of
369 static inline int i2c_set_self_slave_address(i2c_bus_t *bus, int addr)
373 ZF_LOGF_IF(!i2c_is_valid_address(i2c_extract_address(addr)), "I2C address "
376 return bus->set_self_slave_address(bus, addr);
385 * @param[in] addr The address to assign to this bus. The RW bit of
390 static inline void i2c_set_hsmode_master_address(i2c_bus_t *i2c_bus, int addr)
394 return i2c_bus->set_hsmode_master_address(i2c_bus, addr);
455 * @param[out] addr On success, and when the value passed is not NULL,
458 * should be equal to the number of elements in the addr
461 * that were entered into the addr array.
465 int i2c_scan(i2c_bus_t *i2c_bus, int start, int *addr, int naddr);