util.h

来自「9E5无线单片机芯片的整个工程文件 已经在产品中使用」· C头文件 代码 · 共 28 行

H
28
字号
/*= util.h =========================================================================================
 *
 * Copyright (C) 2004 Nordic Semiconductor
 *
 * This file is distributed in the hope that it will be useful, but WITHOUT WARRANTY OF ANY KIND.
 *
 * Author(s): Ole Saether
 *
 * $Revision: 2 $
 *
 *==================================================================================================
*/
#ifndef __HOPPING_UTIL_H__
#define __HOPPING_UTIL_H__

void Delay100us(unsigned char n);
unsigned char SpiReadWrite(unsigned char b);
void PutString(const char *s);
void HexOutNib(unsigned char n);
void HexOutByte(unsigned char b);
void HexOutWord(unsigned int w);
void InitUart(void);
void InitTimer(void);
void ResetTimer(unsigned char n);
unsigned GetTimer(unsigned char n);

#endif

⌨️ 快捷键说明

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