📄 smbus.h
字号:
#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 + -