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
use super::RegisterAddress;
use emc230x_macros::RegisterAddress;

bitfield::bitfield! {
    #[derive(Clone, Copy, RegisterAddress)]
    #[register(address = 0xFC, default = 0x00)]
    pub struct ProductFeatures(u8);
    impl Debug;

    pub u8, adr, set_adr: 5, 3;

    pub u8, fsp, set_fsp: 2, 0;
}