i2c_cfg.h
来自「台湾亚信电子ASIX11015的I2C口驱动,很适合接当今流行的I2C口.希望和」· C头文件 代码 · 共 48 行
H
48 行
/*
*********************************************************************************
* Copyright (c) 2005 ASIX Electronic Corporation All rights reserved.
*
* This is unpublished proprietary source code of ASIX Electronic Corporation
*
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*********************************************************************************
*/
/*================================================================================
* Module Name : i2c_cfg.h
* Purpose : Configuration setting of I2C module.
* Author : Robin Lee
* Date : 2006-01-10
* Notes :
* $Log: i2c_cfg.h,v $
* Revision 1.1 2006/04/07 11:38:34 robin6633
* no message
*
*================================================================================
*/
#ifndef I2C_CFG_H
#define I2C_CFG_H
/* INCLUDE FILE DECLARATIONS */
/* NAMING CONSTANT DECLARATIONS */
#define I2C_SLAVE_ENABLE 0 // 1:I2C slave mode enable ; 0:disable
#define SLV_MAX_PKT_NUM 64 // buffer size of i2c slave mode for tx and rx
#define MST_MAX_PKT_NUM 64 // data buffer size of i2c master mode
/* MACRO DECLARATIONS */
/* TYPE DECLARATIONS */
/* GLOBAL VARIABLES */
/* EXPORTED SUBPROGRAM SPECIFICATIONS */
#endif /* End of I2C_CFG_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?