Searched refs:AD7417_CONFIG (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/iicbus/adc/ |
H A D | ad7417.c | 55 #define AD7417_CONFIG 0x01 macro 259 err = ad7417_write(dev, addr, AD7417_CONFIG, &buf, sizeof(buf)); in ad7417_init_adc() 260 err = ad7417_read_1(dev, addr, AD7417_CONFIG, &buf); in ad7417_init_adc() 266 err = ad7417_write(dev, addr, AD7417_CONFIG, &buf, sizeof(buf)); in ad7417_init_adc() 504 config.reg = AD7417_CONFIG; in ad7417_get_adc() 508 err = ad7417_read_1(dev, addr, AD7417_CONFIG, &config.val); in ad7417_get_adc()
|