Lines Matching full:attribute
35 /** Set the attribute value(s) of a given channel. */
37 enum sensor_attribute attribute, const void *value);
38 /** Get metadata about an attribute. */
40 enum sensor_attribute attribute, q31_t *min, q31_t *max,
121 * @brief Set the emulator's attribute values
125 * @param[in] attribute The attribute to set
126 * @param[in] value the value to use (cast according to the channel/attribute pair)
132 enum sensor_attribute attribute, in emul_sensor_backend_set_attribute() argument
144 return api->set_attribute(target, ch, attribute, value); in emul_sensor_backend_set_attribute()
148 * @brief Get metadata about an attribute.
150 * Information provided by this function includes the minimum/maximum values of the attribute as
155 * @param[in] attribute The attribute to request info for. If \p attribute is unsupported, return
157 * @param[out] min The minimum value the attribute can be set to
158 * @param[out] max The maximum value the attribute can be set to
159 * @param[out] increment The value that the attribute increases by for every LSB
166 enum sensor_attribute attribute, in emul_sensor_backend_get_attribute_metadata() argument
179 return api->get_attribute_metadata(target, ch, attribute, min, max, increment, shift); in emul_sensor_backend_get_attribute_metadata()