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