opb_onewire_l.h
来自「something is very important in life. So 」· C头文件 代码 · 共 29 行
H
29 行
#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 + =
减小字号Ctrl + -
显示快捷键?