![NXP Semiconductors LPC84x Скачать руководство пользователя страница 331](http://html.mh-extra.com/html/nxp-semiconductors/lpc84x/lpc84x_user-manual_1721742331.webp)
UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
331 of 515
NXP Semiconductors
UM11029
Chapter 19: LPC84x I2C0/1/2/3
The transmission of the address and data bits is controlled by the state of the
MSTPENDING status bit. Whenever the status is Master pending, the master can read or
write to the MSTDAT register and go to the next step of the transmission protocol by
writing to the MSTCTL register.
Configure the I2C bit rate:
•
Divide the system clock (I2C_PCLK) by a factor of 2. See
.
•
Set the SCL high and low times to 2 clock cycles each. This is the default. See
. The result is
an SCL clock of 375 kHz.