/*!
 * @file        readme.txt
 *
 * @brief       This file is routine instruction
 *
 * @version     V1.0.0
 *
 * @date        2025-01-01
 *
 * @attention
 *
 *  Copyright (C) 2025 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */

&par Example Description

This routine is a template routine for I2C dual-board communication. 
The Master development board sends a piece of data to the Slave development 
board at a fixed interval, and the device receives this data in real time.

The wiring is as follows:
GPIO2(SCL) --> GPIO2(SCL)
GPIO3(SDA) --> GPIO3(SDA)

&par Directory contents

  - I2C/I2C_TwoBoards/I2C_Master/Source/apm32f0xx_int.c          Master Interrupt handlers
  - I2C/I2C_TwoBoards/I2C_Master/Source/main.c                   Master Main program
  - I2C/I2C_TwoBoards/I2C_Slave/Source/apm32f0xx_int.c           Slave Interrupt handlers
  - I2C/I2C_TwoBoards/I2C_Slave/Source/main.c                    Slave Main program

&par Hardware and Software environment

  - This example runs on BMP561 Devices.