i2c-algo-sgi.h

来自「自己做的交叉编译工具!gcc-3.4.5,glibc-2.3.6在ubuntu8」· C头文件 代码 · 共 28 行

H
28
字号
/* * This file is subject to the terms and conditions of the GNU General Public * License version 2 as published by the Free Software Foundation. * * Copyright (C) 2003 Ladislav Michl <ladis@linux-mips.org> */#ifndef I2C_ALGO_SGI_H#define I2C_ALGO_SGI_H 1#include <linux/i2c.h>struct i2c_algo_sgi_data {	void *data;	/* private data for lowlevel routines */	unsigned (*getctrl)(void *data);	void (*setctrl)(void *data, unsigned val);	unsigned (*rdata)(void *data);	void (*wdata)(void *data, unsigned val);	int xfer_timeout;	int ack_timeout;};int i2c_sgi_add_bus(struct i2c_adapter *);int i2c_sgi_del_bus(struct i2c_adapter *);#endif /* I2C_ALGO_SGI_H */

⌨️ 快捷键说明

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