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

📄 asmselect.h

📁 spi协议
💻 H
字号:
/*
#define EEPROM_is_93c46  0	// 1 is 93c46,
#define EEPROM_is_24C16  0	//*/
#define timer_is_DS1302 1	// 1 is ds1302,
/*
#define timer_is_S35390 0 	// 1 IS s35390
//==============================
#define ASMDS18B20_config_store 0
#define ASMI2C_READdata 0
#define ASMI2C_writedata 0
//*/
#define ASMSPI_write_nbit 0
#define ASMSPI_read_nbit 0
/*
#define ASM1wire 1
#define ASMds18b20 1
//======================
#if EEPROM_is_24C16
#define ASMI2C 1
#define ASMI2C_write_block 1
#define ASMI2C_read_block 1
#define ASMI2C_E_address 1
#define ASMI2C_wait_1ms 1
#endif

#if EEPROM_is_93c46
#define ASMmicrowire 1
#endif

#if timer_is_S35390
#define ASMI2C 1
#define ASMs35390 1
#endif//*/

#if timer_is_DS1302
#define ASMds1302 1
#define ASMSPI 1
#endif
/*
//=============================
#ifndef ASMI2C_write_block 
	#define ASMI2C_write_block 0
#endif
#ifndef ASMI2C_read_block 
	#define ASMI2C_read_block 0
#endif
#ifndef ASMI2C 
	#define ASMI2C 0
#endif
#ifndef ASMI2C_E_address 
	#define ASMI2C_E_address 0
#endif
#ifndef ASMI2C_wait_1ms 
	#define ASMI2C_wait_1ms 0
#endif
//---------
#ifndef ASMmicrowire 
	#define ASMmicrowire 0
#endif
#ifndef ASMs35390 
	#define ASMs35390 0
#endif//*/
//-----------
#ifndef ASMds1302 
	#define ASMds1302 0
#endif
#ifndef ASMSPI 
	#define ASMSPI 0
#endif
//===============================

⌨️ 快捷键说明

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