OpenBIC
OpenSource Bridge-IC
plat_class.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include <stdbool.h>
18#include <stdint.h>
19
20#ifndef PLAT_CLASS_H
21#define PLAT_CLASS_H
22
27};
32};
37};
38void init_aalc_config();
39uint8_t get_hsc_module();
40uint8_t get_temp_module();
41uint8_t get_board_stage();
42bool evt_access(uint8_t sensor_num);
43#endif
BOARD_STAGE
Definition: plat_class.h:33
@ BOARD_STAGE_UNKNOWN
Definition: plat_class.h:36
@ BOARD_STAGE_DVT
Definition: plat_class.h:35
@ BOARD_STAGE_EVT
Definition: plat_class.h:34
void init_aalc_config()
Definition: plat_class.c:25
uint8_t get_hsc_module()
Definition: plat_class.c:30
uint8_t get_board_stage()
Definition: plat_class.c:40
HSC_MODULE
Definition: plat_class.h:23
@ HSC_MODULE_XDP710
Definition: plat_class.h:25
@ HSC_MODULE_ADM1272
Definition: plat_class.h:24
@ HSC_MODULE_UNKNOWN
Definition: plat_class.h:26
TEMP_MODULE
Definition: plat_class.h:28
@ TEMP_MODULE_UNKNOWN
Definition: plat_class.h:31
@ SB_NCT214
Definition: plat_class.h:30
@ SB_TMP461
Definition: plat_class.h:29
bool evt_access(uint8_t sensor_num)
Definition: plat_class.c:47
uint8_t get_temp_module()
Definition: plat_class.c:35
uint8_t sensor_num
Definition: storage_handler.h:6