/**
 * @file        readme.txt
 *
 * @brief       This file is routine instruction
 *
 * @version     V1.0.0
 *
 * @date        2024-12-01
 *
 * @attention
 *
 *  Copyright (C) 2024-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 example shows how to configure system to measure different low power modes 
consumption. Includes the following modes:
    - Sleep Mode
    - Standby mode with WKUP pin

To run this example, users has to follow the following steps:
    - Select different modes by setting 1 of the following code:
    /*
    * #define SYS_SLEEP_MODE
    * #define SYS_STANDBY_MODE
    */
    - Use an external ammeter to measure the IDD current.

Here below a detailed description of the example code:
After system reset, the program waits for KEY1 button to be pressed to enter
the selected Low Power mode. The following are different modes of awakening:
    - SYS_SLEEP_MODE
    Wake up by pressing the KEY1 button.
    
    - SYS_STANDBY_MODE
    Wake up by WKUP PIN(PA0) input high logical voltage.

&par Directory contents

  - PMU/PMU_Consumption/Source/APM32F402xx_int.c     Interrupt handlers
  - PMU/PMU_Consumption/Source/main.c              Main program

&par IDE environment

  - MDK-ARM V5.40
  - EWARM V8.50.5.26295
  - ECLIPSE-EMB V4.24.0

&par Hardware and Software environment

  - This example runs on APM32F402 TINY Devices.
