New
This commit is contained in:
41
User/bsp/inc/bsp_res.h
Normal file
41
User/bsp/inc/bsp_res.h
Normal 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 ---------------------------------
|
||||
Reference in New Issue
Block a user