Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
vfc_i2c.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 1k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- #ifndef _LINUX_VFC_I2C_H_
- #define _LINUX_VFC_I2C_H_
- /* control bits */
- #define PIN (0x80000000)
- #define ESO (0x40000000)
- #define ES1 (0x20000000)
- #define ES2 (0x10000000)
- #define ENI (0x08000000)
- #define STA (0x04000000)
- #define STO (0x02000000)
- #define ACK (0x01000000)
- /* status bits */
- #define STS (0x20000000)
- #define BER (0x10000000)
- #define LRB (0x08000000)
- #define AAS (0x04000000)
- #define LAB (0x02000000)
- #define BB (0x01000000)
- #define SEND_I2C_START (PIN | ESO | STA)
- #define SEND_I2C_STOP (PIN | ESO | STO)
- #define CLEAR_I2C_BUS (PIN | ESO | ACK)
- #define NEGATIVE_ACK ((ESO) & ~ACK)
- #define SELECT(a) (a)
- #define S0 (PIN | ESO | ES1)
- #define S0_OWN (PIN)
- #define S2 (PIN | ES1)
- #define S3 (PIN | ES2)
- #define ENABLE_SERIAL (PIN | ESO)
- #define DISABLE_SERIAL (PIN)
- #define RESET (PIN)
- #define XMIT_LAST_BYTE (1)
- #define VFC_I2C_ACK_CHECK (1)
- #define VFC_I2C_NO_ACK_CHECK (0)
- #endif /* _LINUX_VFC_I2C_H_ */