i2c.h
来自「FreeScale imx21开发板Nand flash烧写程序」· C头文件 代码 · 共 56 行
H
56 行
// ***************************************************************************
//
// Filename: i2c.h
//
// Created: Louis Lai (6/20/2003)
//
// Modified: $Author: $ $Date: $
//
// ***************************************************************************
// ***************************************************************************
// include file opening statements
// ***************************************************************************
#ifndef __I2C_H
#define __I2C_H
// ***************************************************************************
// pragmas
// ***************************************************************************
// ***************************************************************************
// includes
// ***************************************************************************
// ***************************************************************************
// macros
// ***************************************************************************
// ***************************************************************************
// definitions
// ***************************************************************************
//*******************
//I2C Registers
//*******************
#define IADR (*(volatile U32*) 0x00217000)
#define IFDR (*(volatile U32*) 0x00217004)
#define I2CR (*(volatile U32*) 0x00217008)
#define I2SR (*(volatile U32*) 0x0021700C)
#define I2DR (*(volatile U32*) 0x00217010)
// ***************************************************************************
// include file closing statements
// ***************************************************************************
#endif // #ifndef __I2C_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?