readme.txt 865 B

1234567891011121314151617181920212223
  1. /*!
  2. \file readme.txt
  3. \brief description of the master receiver one byte
  4. */
  5. /*
  6. Copyright (C) 2017 GigaDevice
  7. 2017-06-06, V1.0.0, firmware for GD32F3x0
  8. */
  9. This demo is based on the GD32350R-EVAL board, it shows the I2C programming
  10. mode in master receiving mode which the master only want to receive one byte of
  11. data. In this demo,I2C1 is operated as master receiver,and the SCL line and SDA
  12. line of I2C1 interface are controled by the I/O pin PB6 and PB7 respectively.
  13. This demo shows the receiving one byte process of the master. And it will store
  14. the received data in the i2c_receiver array.
  15. This demo doesn't perform the data transfer actually, which is due to no
  16. specific slave.In the specific application, we must send the correct slave
  17. address, and the master and the slave may need to be connected by the jumper
  18. if necessary.