emc230x 0.3.0

An async driver for the EMC230x family of fan controllers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::RegisterOffset;
use emc230x_macros::RegisterOffset;

bitfield::bitfield! {
    #[derive(Clone, Copy, RegisterOffset)]
    #[register(offset = 0x07, default = 0x10)]
    pub struct MaxStepSize(u8);
    impl Debug;

    /// Maximum Step Size
    ///
    /// The maximum step size that the device will use to adjust the fan speed.
    pub u8, stpx, set_stpx: 7, 0;
}