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

📄 i2c.h

📁 贪吃蛇在arm版上的运行
💻 H
字号:
#ifndef __I2C_H__#define __I2C_H__/* ----- commands for the ioctl like i2c_command call */#define I2C_SLAVE	0x0703			/* Change slave address			*/									/* Attn.: Slave address is 7 or 10 bits */#define I2C_SLAVE_FORCE	0x0706		/* Change slave address			*/									/* Attn.: Slave address is 7 or 10 bits */									/* This changes the address, even if it */									/* is already taken!			*/#define I2C_TENBIT	0x0704			/* 0 for 7 bit addrs, != 0 for 10 bit	*/#define I2C_FUNCS	0x0705			/* Get the adapter functionality */#define I2C_RDWR	0x0707			/* Combined R/W transfer (one stop only)*/#define I2C_SMBUS	0x0720			/* SMBus-level access */#define I2C_S3C2410_SET_SPEED       0x780   /* set IIC clock speed */#define I2C_S3C2410_GET_SPEED       0x781   /* get IIC clock speed */#endif

⌨️ 快捷键说明

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