This commit is contained in:
刘正航
2026-04-16 16:55:01 +08:00
commit 609eb878d1
624 changed files with 214375 additions and 0 deletions

41
User/bsp/inc/bsp_res.h Normal file
View File

@@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// 模块名称:压电位移控制器串联电阻驱动模块
// 文件名称bsp_res.h
// 版本名称V1.0
// 文件说明:头文件
// 日期时间2018年8月8日15点14分
// 文件作者Jackie Chan
// 修改记录:
// 版本号 日期 作者 说明
// V1.0 2018.08.08 J.C 正式发布
//
// 公司名称:多场低温科技有限公司
//
//------------------------------------------------------------------------------
#ifndef __BSP_RES_H__
#define __BSP_RES_H__
#include <stdint.h>
// 串联电阻参数选择主要用于bsp_KeyState()函数的入口参数
typedef enum
{
RES_0 = 7,
RES_10,
RES_61,
RES_100,
RES_110,
RES_151,
RES_202,
RES_212
}RES_E;
// 供外面调用的函数声明
void bsp_InitRes(void);
void bsp_SelectRes(uint8_t _res);
#endif
//-------------------------------- End of file ---------------------------------