Searched refs:value_bit (Results 1 – 2 of 2) sorted by relevance
90 dev->value_bit = DEFAULT_BITS; in mraa_aio_init()167 if (dev->value_bit != raw_bits) { in mraa_aio_read()169 if (raw_bits > dev->value_bit) { in mraa_aio_read()170 shifter_value = raw_bits - dev->value_bit; in mraa_aio_read()173 shifter_value = dev->value_bit - raw_bits; in mraa_aio_read()189 float max_analog_value = (1 << dev->value_bit) - 1; in mraa_aio_read_float()214 dev->value_bit = bits; in mraa_aio_set_bit()225 return dev->value_bit; in mraa_aio_get_bit()
115 int value_bit; /**< 10 bits by default. Can be increased if board */ member