i2c.h

来自「此文档为采用FPGA实现的以太网MAC层」· C头文件 代码 · 共 9 行

H
9
字号
#include "sys.h"#define I2C_CTRL (*(volatile unsigned char *) Base_I2CM)#define I2C_STATUS (*(volatile unsigned char *) Base_I2CM)#define I2C_CLK0 (*(volatile unsigned char *) Base_I2CM)#define I2C_CLK1 (*(volatile unsigned char *) Base_I2CM)#define I2C_WR (*(volatile unsigned char *) Base_I2CM)#define I2C_RD (*(volatile unsigned char *) Base_I2CM)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?