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

📄 kernal.c

📁 Keil 8051 C example RS232 to I2c
💻 C
字号:
#include <at89x52.H>              // SFR definition header file
#include <stdio.h>                 // prototype declarations for I/O functions

#include "function.h"
#include "SystemEvent.h"
#include "math.h"
#include "UART.h"
#include "Var.h"
extern void InitRemoteCTRL(void);

sfr CHPCON     = 0xBF;
sfr CHPENR     = 0xF6; 

extern void InitSERIALPort(void);

void main (void){      
	_PtrI2c=&_I2cBuf;
    _WPtrI2c=_PtrI2c+0x08; 
	InitSERIALPort();  	 
	_FuncX=0;
	while(1){   	
 	SystemEvent(); 	    
	} 
}



 

⌨️ 快捷键说明

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