Page 324 - ARM Based Microcontroller Projects Using MBED
P. 324

310                              11. I C BUS PROJECTS
                                                     2























                 FIG. 11.6  Program PDL.



                                                Pointer
                                                register



                                         Temperature
                                           register


                                                                            SCL
                                         Configuration
                                           register
                                                              I/O
                                                             control
                                                            interface
                                           T LOW
                                          register
                                                                            SDA

                                           T HIGH
                                           register
                 FIG. 11.7  TMP102 registers.

                                                                      2
                 accuracy of  0.5°C. The device has a 12-bit resolution and is I C, Two-Wire, and SMBus com-
                 patible. TMP102 can have four different device addresses and hence up to four such devices
                 can be connected to the bus. The programming model of the device is shown in Fig. 11.7.
                 The Pointer Register is used to select the register to be configured and it selects the other reg-
                 isters as follows:
   319   320   321   322   323   324   325   326   327   328   329