ir.h

来自「瑞萨(Renesas)M16C系列芯片的函数库」· C头文件 代码 · 共 19 行

H
19
字号
#ifndef _IR_H#define _IR_H#include "sfr62p.h"	// SFR definition of M16C/62P#include "timer.h"	// timer utility header filevoid InitIR(void);	// initialize infrared input and outputvoid SendTimer(void);	// when the function is executed 16 times, 1 bit is sentvoid RecTimer(void);	// when the function is executed 16 times, 1 bit is receivedchar Busy(void);		// to show the period of sendingchar Send(unsigned char cSend);	// send a characterchar CanReceive(void);	// to show if a character is receivedunsigned char Receive(void);	// receive a character#endif

⌨️ 快捷键说明

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