STC作为主机轮询扫描I2C设备,确认ICN6211工作状态。
This commit is contained in:
56
UART_refer/xtell.h
Normal file
56
UART_refer/xtell.h
Normal file
@ -0,0 +1,56 @@
|
||||
#ifndef __XTELL_H
|
||||
#define __XTELL_H
|
||||
|
||||
#include "STC8G.h"
|
||||
#include "intrins.h"
|
||||
#include "reg51.h"
|
||||
#include <stdio.h>
|
||||
#include "helper.h"
|
||||
#include "typedef.h"
|
||||
|
||||
|
||||
#define MY_DEBUG 1
|
||||
|
||||
#if MY_DEBUG
|
||||
#define LOG printf
|
||||
#else
|
||||
#define LOG printf("");
|
||||
#endif
|
||||
|
||||
/*
|
||||
#define _LOG_ENABLE
|
||||
#ifdef _LOG_ENABLE
|
||||
#define LOG printf
|
||||
#else
|
||||
#define LOG(...)
|
||||
#endif
|
||||
*/
|
||||
|
||||
|
||||
#define VERSION_NUMBER "20220709-0901"
|
||||
|
||||
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
//STC8H1K08<30><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD> <20><>ȡ<EFBFBD><C8A1><EFBFBD>룺1234
|
||||
//https://pan.baidu.com/s/1EfH7I16LwM0gtapMV0oONg
|
||||
|
||||
//STC<54><43>Ƭ<EFBFBD><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
//https://view.inews.qq.com/a/20220304A00VOV00
|
||||
|
||||
//keil C51<35><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ:
|
||||
//keil memory model:
|
||||
//https://wenku.baidu.com/view/26cecb842b4ac850ad02de80d4d8d15abe23007e.html
|
||||
|
||||
//KEIL<49><4C><EFBFBD>Ż<EFBFBD><C5BB>ȼ<EFBFBD><C8BC><EFBFBD><EFBFBD><EFBFBD>:
|
||||
//https://jingyan.baidu.com/article/546ae185d915971148f28c69.html
|
||||
|
||||
// Keil<69><6C>Option optimization<6F>ȼ<EFBFBD><C8BC>Ż<EFBFBD><C5BB><EFBFBD><EFBFBD><EFBFBD>:
|
||||
// https://blog.csdn.net/qq_20017379/article/details/122770788
|
||||
|
||||
//<2F><>KEIL<49><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>STC<54>ͺŵ<CDBA>Ƭ<EFBFBD><C6AC><EFBFBD><EFBFBD>3<EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>:
|
||||
//https://wenku.baidu.com/view/904916af8462caaedd3383c4bb4cf7ec4afeb6ba.html
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user