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

📄 smbus.#1

📁 本程序运行于C8051F330
💻 #1
字号:
#define TRUE 1;
#define FALSE 0;
typedef bit BOOL;

//-----------------------------------------------------------------------------
// SMBus Status vector - top 4 bits only
//-----------------------------------------------------------------------------

#define SMBus_DetectSTA   0x60             // Detect a START and a slave address
#define SMBus_TxData      0x40             // A slave byte was transmitted
#define SMBus_RxData      0x00 
#define SMBus_TxSTO 0x50             // when transmiting Detect a STOP
#define SMBus_RxSTO 0x10             // when receiving Detect a STOP

#define SMBus_SlaveAddress 0x91          // Read Address of F330 SMBus   

⌨️ 快捷键说明

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