⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 opb_onewire_l.h

📁 something is very important in life. So read it. Try reading it,. I do not care. Please read it/ Ple
💻 H
字号:
#ifndef OPB_ONEWIRE_L_H /* prevent circular inclusions */

#define OPB_ONEWIRE_L_H /* by using protection macros */



/***************************** Include Files ********************************/



#include "xbasic_types.h"



/************************** Constant Definitions ****************************/



#define ETH_ADDR_LEN_PLUS_COLONS 12


#define ETH_ADDR_LEN 6


#define CRC_PASSED 0x2000000



/**************************** Type Definitions ******************************/





/***************** Macros (Inline Functions) Definitions ********************/





/************************** Function Prototypes *****************************/




void OneWire_GetHardwareAddrWithColons(Xuint32 ONEWIRE_BASEADDR, unsigned char* hw_addr);

void OneWire_GetHardwareAddr(Xuint32 ONEWIRE_BASEADDR, unsigned char* hw_addr);



#endif            /* end of protection macro */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -