⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alt_eeprom.h

📁 FPGA应用如sd卡控制
💻 H
字号:
#include <unistd.h>#include <stdio.h>#include <stdlib.h>#include <malloc.h>#include <ctype.h>#include "sys/alt_irq.h"#include "system.h"#include "altera_avalon_pio_regs.h"#include "alt_2_wire.h"typedef struct i2c_device {    int id;    int size;    int writeControlByte;    int readControlByte;} mem_device;int readRandom(struct i2c_device *device,int address, char *buf, int len);int writeByte(struct i2c_device *device, int address, int value);void hexdump_eeprom(char *buf, int len, int offset);void dump(struct i2c_device *device, int start, int len);void fill(struct i2c_device *device, char b);

⌨️ 快捷键说明

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