📄 userot.h
字号:
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#ifndef _CUSTOMER_OT_H
#define _CUSTOMER_OT_H
// *******************************************************
// NOTE: User defined: Please modify for your application
// *******************************************************
// change the typedef's to reflect Host processor C-Compiler/Tool Chain
// data types needed for OTLib
typedef unsigned long OT_U32;
typedef unsigned short OT_U16;
typedef unsigned char OT_U8;
typedef signed long OT_S32;
typedef signed short OT_S16;
typedef signed char OT_S8;
// *****************************************************************
// NOTE: User defined parameters: Please modify for your application
// *****************************************************************
// Timeout for OT_U8 OT_Poll_Attn_Line_TimeOut(void); User implements this function
#define OT_TIMEOUT 0x500000 // is equal to 50ms
// *****************************************************************
// NOTE: User defined parameters: Please modify for your application
// *****************************************************************
// Clock streching limit for I2C Software Bitbanging implementation
#define OT_HAL_CLK_STRETCH_LIMIT 5000000 // corresponds to 500ms
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -