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

306                              11. I C BUS PROJECTS
                                                     2
























                           2
                 FIG. 11.1  I C bus with one master and three slaves.

                                                2
                               TABLE 11.1 Mbed I C Master Node Functions
                               Function         Description
                                                                                2
                               frequency        Set the frequency of communication on the I C bus
                               read             Read from a slave
                               write            Write to a slave
                                                                       2
                               start            Create a start condition on the I C bus
                                                                      2
                               stop             Create a stop condition on the I C bus


                                                               2
                                    11.2 NUCLEO-F411RE I C GPIO PINS

                                  2
                   There are three I C modules on the Nucleo-F411RE development board. The following are
                 the GPIO pins for these modules:


                                       2
                                       I C Module       Signal      GPIO Pin
                                       2
                                       I C1             SDA         PB_7, PB_9
                                       2
                                       I C1             SCL         PB_6, PB_8
                                       2
                                       I C2             SDA         PB_3
                                       2
                                       I C2             SCL         PB_10
                                       2
                                       I C3             SDA         PB_4, PC_9
                                       2
                                       I C3             SCL         PA_8
   315   316   317   318   319   320   321   322   323   324   325