Module units

Source
Expand description

Units used in this library.

Structs§

AngularVelocity
Struct that represents an angular velocity.
Current
Struct that represents an electrical current.
Energy
Struct that represents used energy.
FanDivisor
Struct representing a fan divisor. Fan divisors can only be powers of two.
Frequency
Struct that represents a frequency.
Power
Struct that represents electrical power.
Pwm
Struct that represents a pwm value between 0 and 255.
Ratio
Struct that represents a ratio. It is used for humidity and accuracy measurements.
Temperature
Struct that represents a temperature.
Voltage
Struct that represents an electrical voltage.

Enums§

Error
Error converting values or strings into usable unit types.
PwmEnable
Enum that represents the control states a pwm can be in.
PwmMode
Enum that represents the modes by which a fan’s speed can be regulated.
TempType
Enum that represents the different temp sensor types.

Traits§

Raw
Trait that needs to be implemented by all types that raw sensor strings should be converted into.