@@ -171,7 +171,7 @@ enum IioEndian {
171
171
}
172
172
173
173
/// Representation of an IIO channel axis's scan type.
174
- /// It is read from sysfs "scan_element/<channel>_type"
174
+ /// It is read from sysfs "scan_element/\ <channel>_type"
175
175
///
176
176
/// Used also for scalar values.
177
177
#[ derive( PartialEq , Debug , Clone , Copy ) ]
@@ -250,18 +250,18 @@ struct Axis {
250
250
/// Axis unit exponent, see [UnitMapping::unit_exponent] and [UNIT_MAPPING].
251
251
unit_exponent : i8 ,
252
252
/// Additional exponent to apply to the axis values. It is computed from
253
- /// the axis value scaling (see [IIOSensor::custom_exponent] to provide a
254
- /// sufficiently accurate SCMI value that is represented by an integer (not
255
- /// a float) + decadic exponent.
253
+ /// the axis value scaling (see [IIOSensor::custom_exponent_and_resolution]
254
+ /// to provide a sufficiently accurate SCMI value that is represented by an
255
+ /// integer (not a float) + decadic exponent.
256
256
custom_exponent : i8 ,
257
257
/// This is an extended attribute field. It reports the resolution of the
258
- /// sensor axis. The representation is in [custom_resolution] x
259
- /// 10^[custom_exponent] format. This field is present only if Bit[8] of
260
- /// axis_attributes_low is set to 1.
258
+ /// sensor axis. The representation is in [Self:: custom_resolution] x
259
+ /// 10^[Self:: custom_exponent] format. This field is present only if
260
+ /// `Bit[8]` of axis_attributes_low is set to 1.
261
261
custom_resolution : u64 ,
262
262
/// Channel scan type, necessary if the sensor supports notifications.
263
263
/// The data from /dev/iio:deviceX will be formatted according to this.
264
- /// The ChanScanType is parsed from "scan_elements/<channel>_type"
264
+ /// The ChanScanType is parsed from "scan_elements/\ <channel>_type"
265
265
scan_type : Option < ChanScanType > ,
266
266
}
267
267
0 commit comments