📄 i2c_cfg.h
字号:
/*
*********************************************************************************
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -