Searched refs:PERIPH_ADDR (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/tests/drivers/smbus/smbus_emul/src/ |
D | smbus.c | 19 #define PERIPH_ADDR 0x10 macro 115 ret = smbus_quick(dev, PERIPH_ADDR, 1); in ZTEST() 120 ret = smbus_byte_write(dev, PERIPH_ADDR, snd_byte); in ZTEST() 123 ret = smbus_byte_read(dev, PERIPH_ADDR, &rcv_byte); in ZTEST() 128 ret = smbus_byte_data_write(dev, PERIPH_ADDR, 0, snd_byte); in ZTEST() 131 ret = smbus_byte_data_read(dev, PERIPH_ADDR, 0, &rcv_byte); in ZTEST() 148 ret = smbus_word_data_write(dev, PERIPH_ADDR, 0, snd_word); in ZTEST() 151 ret = smbus_word_data_read(dev, PERIPH_ADDR, 0, &rcv_word); in ZTEST() 160 ret = smbus_byte_data_write(dev, PERIPH_ADDR, 0, snd_byte); in ZTEST() 162 ret = smbus_byte_data_write(dev, PERIPH_ADDR, 1, snd_byte); in ZTEST() [all …]
|