mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-17 11:58:54 +00:00
V1.0.5
This commit is contained in:
42
bsp/examples_bare/test-tsen/test_tsen.h
Normal file
42
bsp/examples_bare/test-tsen/test_tsen.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Artinchip Technology Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Authors: Li Siyao <siyao.li@artinchip.com>
|
||||
*/
|
||||
|
||||
struct aic_tsen_ch aic_tsen_chs[] = {
|
||||
#ifdef AIC_USING_TSEN_CPU
|
||||
{
|
||||
.id = 0,
|
||||
.available = 1,
|
||||
.name = "tsen_cpu",
|
||||
.mode = AIC_TSEN0_MODE,
|
||||
.soft_mode = AIC_TSEN0_SOFT_MODE,
|
||||
.hta_enable = 0,
|
||||
.lta_enable = 0,
|
||||
.otp_enable = 0,
|
||||
#ifndef CONFIG_FPGA_BOARD_ARTINCHIP
|
||||
.slope = -1134,
|
||||
.offset = 2439001,
|
||||
#endif
|
||||
},
|
||||
#endif
|
||||
#ifdef AIC_USING_TSEN_GPAI
|
||||
{
|
||||
.id = 1,
|
||||
.available = 1,
|
||||
.name = "tsen_gpai",
|
||||
.mode = AIC_TSEN1_MODE,
|
||||
.soft_mode = AIC_TSEN1_SOFT_MODE,
|
||||
.hta_enable = 0,
|
||||
.lta_enable = 0,
|
||||
.otp_enable = 0,
|
||||
#ifndef CONFIG_FPGA_BOARD_ARTINCHIP
|
||||
.slope = -1139,
|
||||
.offset = 2450566,
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
};
|
||||
Reference in New Issue
Block a user