1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
use super::RegisterAddress;
use emc230x_macros::RegisterAddress;
bitfield::bitfield! {
#[derive(Clone, Copy, RegisterAddress)]
#[register(address = 0x27, default = 0x00)]
pub struct FanDriveFailStatus(u8);
impl Debug;
/// Drive Fail Fan 5 Status
///
/// 0: Fan is within limits of RPM.
///
/// 1: Fan is unable to reach the RPM with 100% PWM input.
pub drvf5, _: 4;
/// Drive Fail Fan 4 Status
///
/// 0: Fan is within limits of RPM.
///
/// 1: Fan is unable to reach the RPM with 100% PWM input.
pub drvf4, _: 3;
/// Drive Fail Fan 3 Status
///
/// 0: Fan is within limits of RPM.
///
/// 1: Fan is unable to reach the RPM with 100% PWM input.
pub drvf3, _: 2;
/// Drive Fail Fan 2 Status
///
/// 0: Fan is within limits of RPM.
///
/// 1: Fan is unable to reach the RPM with 100% PWM input.
pub drvf2, _: 1;
/// Drive Fail Fan 1 Status
///
/// 0: Fan is within limits of RPM.
///
/// 1: Fan is unable to reach the RPM with 100% PWM input.
pub drvf1, _: 0;
}