?? cmx_i2c.h
字號:
//*****************************************************************************
//*****************************************************************************
// FILENAME: CMX_I2C_Drv.h
// Version: 1.1, Updated on 2008/6/23 at 14:8:8
//
//
// DESCRIPTION: Header file for I2C_Drv.c
//
//-----------------------------------------------------------------------------
// Copyright (c) Cypress MicroSystems 2004. All Rights Reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef CMX_I2C_include
#define CMX_I2C_include
typedef struct
{
BYTE ID; // Instance ID. This ID value will be set upon code generation
// and will refer to the index in the array of pointers to
// parameter blocks.
BYTE bAddress; // I2C Address
BYTE bRAMLen; // Length of RAM buffer used.
BYTE bRWLen; // Length of RW memory locations starting from 0.
BYTE * pbRAMRegs; // Pointer to RAM used for registers (2 Byte pointer)
BYTE bROMLen; // Length of ROM buffer used.
const BYTE * pbROMRegs; // Pointer to ROM used for registers (2 Byte pointer)
}CMX_I2C_ParameterBlock;
// Function prototypes
void CMX_I2C_Instantiate(const CMX_I2C_ParameterBlock * thisBLK );
void CMX_I2C_SetValue(const CMX_I2C_ParameterBlock * thisBLK , BYTE bAddrOffset);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -