mirror of https://github.com/FOME-Tech/fome-fw.git
103 lines
1.6 KiB
C
103 lines
1.6 KiB
C
#pragma once
|
|
#include "rusefi_types.h"
|
|
struct fan_control_s {
|
|
// offset 0 bit 0
|
|
bool cranking : 1 {};
|
|
|
|
// offset 0 bit 1
|
|
bool notRunning : 1 {};
|
|
|
|
// offset 0 bit 2
|
|
bool disabledWhileEngineStopped : 1 {};
|
|
|
|
// offset 0 bit 3
|
|
bool brokenClt : 1 {};
|
|
|
|
// offset 0 bit 4
|
|
bool enabledForAc : 1 {};
|
|
|
|
// offset 0 bit 5
|
|
bool hot : 1 {};
|
|
|
|
// offset 0 bit 6
|
|
bool cold : 1 {};
|
|
|
|
// offset 0 bit 7
|
|
bool unusedBit_7_7 : 1 {};
|
|
|
|
// offset 0 bit 8
|
|
bool unusedBit_7_8 : 1 {};
|
|
|
|
// offset 0 bit 9
|
|
bool unusedBit_7_9 : 1 {};
|
|
|
|
// offset 0 bit 10
|
|
bool unusedBit_7_10 : 1 {};
|
|
|
|
// offset 0 bit 11
|
|
bool unusedBit_7_11 : 1 {};
|
|
|
|
// offset 0 bit 12
|
|
bool unusedBit_7_12 : 1 {};
|
|
|
|
// offset 0 bit 13
|
|
bool unusedBit_7_13 : 1 {};
|
|
|
|
// offset 0 bit 14
|
|
bool unusedBit_7_14 : 1 {};
|
|
|
|
// offset 0 bit 15
|
|
bool unusedBit_7_15 : 1 {};
|
|
|
|
// offset 0 bit 16
|
|
bool unusedBit_7_16 : 1 {};
|
|
|
|
// offset 0 bit 17
|
|
bool unusedBit_7_17 : 1 {};
|
|
|
|
// offset 0 bit 18
|
|
bool unusedBit_7_18 : 1 {};
|
|
|
|
// offset 0 bit 19
|
|
bool unusedBit_7_19 : 1 {};
|
|
|
|
// offset 0 bit 20
|
|
bool unusedBit_7_20 : 1 {};
|
|
|
|
// offset 0 bit 21
|
|
bool unusedBit_7_21 : 1 {};
|
|
|
|
// offset 0 bit 22
|
|
bool unusedBit_7_22 : 1 {};
|
|
|
|
// offset 0 bit 23
|
|
bool unusedBit_7_23 : 1 {};
|
|
|
|
// offset 0 bit 24
|
|
bool unusedBit_7_24 : 1 {};
|
|
|
|
// offset 0 bit 25
|
|
bool unusedBit_7_25 : 1 {};
|
|
|
|
// offset 0 bit 26
|
|
bool unusedBit_7_26 : 1 {};
|
|
|
|
// offset 0 bit 27
|
|
bool unusedBit_7_27 : 1 {};
|
|
|
|
// offset 0 bit 28
|
|
bool unusedBit_7_28 : 1 {};
|
|
|
|
// offset 0 bit 29
|
|
bool unusedBit_7_29 : 1 {};
|
|
|
|
// offset 0 bit 30
|
|
bool unusedBit_7_30 : 1 {};
|
|
|
|
// offset 0 bit 31
|
|
bool unusedBit_7_31 : 1 {};
|
|
|
|
};
|
|
static_assert(sizeof(fan_control_s) == 4);
|
|
|