Changeset 4696
- Timestamp:
- 08/22/07 19:07:11 (6 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0/lib
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/lib/data.h
r4687 r4696 131 131 feature whose compute line will be inherited (a group could be fan and 132 132 fan_max, but not fan_div) 133 mode is SENSORS_MODE_NO_RW, SENSORS_MODE_R, SENSORS_MODE_W or 134 SENSORS_MODE_RW, for unaccessible, readable, writable, and both readable 135 and writable. 133 mode is a bitfield, its value is a combination of SENSORS_MODE_R (readable) 134 and SENSORS_MODE_W (writable). 136 135 scaling is the number of decimal points to scale by. 137 136 Divide the read value by 10**scaling to get the real value. */ -
lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3
r4695 r4696 122 122 } sensors_feature_data;\fP 123 123 .br 124 The mode field can be one of: 125 .br 126 SENSORS_MODE_NO_RW, SENSORS_MODE_R, SENSORS_MODE_W or SENSORS_MODE_RW. 124 The mode field is a bitfield, its value is a combination of 125 SENSORS_MODE_R (readable) and SENSORS_MODE_W (writable). 127 126 128 127 \fBconst sensors_feature_data *sensors_get_all_features -
lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.h
r4695 r4696 117 117 118 118 /* These defines are used in the mode field of sensors_feature_data */ 119 #define SENSORS_MODE_NO_RW 0120 119 #define SENSORS_MODE_R 1 121 120 #define SENSORS_MODE_W 2 122 #define SENSORS_MODE_RW 3123 121 124 122 /* This define is used in the mapping field of sensors_feature_data if no
