Description: This example demonstrates how the C8051F06x SMBus interface can communicate
// with a 256 byte I2C Serial EEPROM (Microchip 24LC02B).
// - Interrupt-driven SMBus implementation
// - Only master states defined (no slave or arbitration)
// - Timer4 used by SMBus for SCL low timeout detection
// - SCL frequency defined by <SMB_FREQUENCY> constant- This example demonstrates how the C8051F06x SMBus interface can communicate
// with a 256 byte I2C Serial EEPROM (Microchip 24LC02B).
//- Interrupt-driven SMBus implementation
//- Only master states defined (no slave or arbitration)
//- Timer4 used by SMBus for SCL low timeout detection
//- SCL frequency defined by <SMB_FREQUENCY> constant Platform: |
Size: 31744 |
Author:蓝天 |
Hits: