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

📄 i2c.h

📁 SDP文件解析代码
💻 H
字号:
/* *       i2c for frv, cmmb * ===================================================================================== *        Version:  1.0 *        Created:  2008年01月25日 11时51分30秒 CST *       Compiler:  gcc *         Author:  kf701 (linux), kf701.ye AT gmail.com *        Company:  CodeRepertory *      CopyRight:  Copyright (c) 2008 kf701 *        SVNinfo:  $Id$ * ===================================================================================== */#ifndef  I2C_INC#define  I2C_INC#include <stdio.h> #include <stdlib.h>#include <string.h>#include <stdint.h>#include <stdbool.h>#include <unistd.h>typedef struct{	uint32_t port;	int32_t value;} i2c_t;uint8_t read_i2c(int port);void write_i2c(int port, int value);void enable_cmmb_device(void);void disable_cmmb_device(void);void cmmbip_change(uint32_t addr_type, char *ip, uint16_t port);#define CMMB_CHANGE_FB 0xc0046315#define FB_FPS_25     3     #define FB_FPS_15     4void cmmb_set_fb_fps();void cmmb_restore_fb_fps();#endif   /* ----- #ifndef I2C_INC  ----- */

⌨️ 快捷键说明

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