readme.txt 970 B

123456789101112131415161718192021222324
  1. /*!
  2. \file readme.txt
  3. \brief description of the slave transmitter
  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 slave transmitting mode.In this demo,I2C0 is operated as slave
  11. transmitter,and the SCL line and SDA line of I2C0 interface are controled by
  12. the I/O pin PB6 and PB7 respectively.
  13. This demo shows the sending data process of the slave. And it will send the
  14. data in the i2c_transmitter array through the I2C0.
  15. The demo doesn't perform the data transfer actually, which is due to no specific
  16. master.In the specific application, we need config the master to start a data
  17. transmission.In addition,the master and the slave may need to be connected by
  18. the jumper if necessary.When the macro I2C_10BIT_ADDRESS is 1, I2C communicate in
  19. 10 bit addressing mode, otherwise, I2C communicate in 7 bit addressing mode.