forked from Beckhoff/BBAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_CX01-CX5020.h
39 lines (32 loc) · 1.18 KB
/
config_CX01-CX5020.h
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
// SPDX-License-Identifier: MIT
/**
Beckhoff BIOS API driver to access hwmon sensors for Beckhoff IPCs
Copyright (C) 2018 Beckhoff Automation GmbH & Co. KG
Author: Patrick Bruenn <[email protected]>
*/
#ifndef TEST_DEVICE
#define TEST_DEVICE 0x5020
/** general configuration */
#define CONFIG_GENERAL_BOARDINFO {"CX553\0", 3, 0, 128}
#define CONFIG_GENERAL_BOARDNAME "CBxx53\0\0\0\0\0\0\0\0\0"
#define CONFIG_GENERAL_VERSION {1, 21, 1}
/** PWRCTRL configuration */
#define CONFIG_PWRCTRL_LAST_SHUTDOWN_ENABLED 0
#define CONFIG_PWRCTRL_BL_REVISION {0, 14, 0}
#define CONFIG_PWRCTRL_FW_REVISION {0, 17, 50}
#define CONFIG_PWRCTRL_DEVICE_ID 0xD
#define CONFIG_PWRCTRL_SERIAL "0000000000000000"
#define CONFIG_PWRCTRL_PRODUCTION_DATE {0, 0}
#define CONFIG_PWRCTRL_TEST_COUNT 0
#define CONFIG_PWRCTRL_TEST_NUMBER "000000"
/** S-UPS configuration */
#define CONFIG_SUPS_STATUS_OFF 0xAF
/** CX Power Supply configuration */
#define CONFIG_CXPWRSUPP_DISABLED 1
/** LED configuration */
#define CONFIG_LED_TC_ENABLED 1
#define CONFIG_LED_USER_ENABLED 0
#else
#define TEST_DEVICE /* redefine to get a nice warning from gcc */
#error "TEST_DEVICE was already defined"
#endif /* #ifndef TEST_DEVICE */