Download MSC121x User's Guide
Transcript
Chapter 9 % *t+ " This chapter describes the Inter-IC (I2C) subsystem of the MSC1211 and MSC1213. Topic Page 9.1 Introduction to the I2C Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 9.2 I2C Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 9.3 I2C Bus Lines and Basic Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 9.4 I2C Data Transfers and the Acknowledge Bit . . . . . . . . . . . . . . . . . . . . 9-4 9.5 I2C Principal Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 9.6 I2C Realted Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10 9.7 I2C Example—MSC1211/13 as Master . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 9.8 I2C Example—MSC1211/13 as Slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-13 9.9 I2C Example—MSC1211/13 as an Interrupt-Driven Slave . . . . . . . . . 9-15 9.10 I2C Synchronization and Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17 9.11 I2C Fast Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17 9.12 I2C General Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17 9.13 I2C 10-Bit Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-18 Inter-IC (I 2Ct) Subsystem 9-1