Overview
========
The advanced Low Power ADC project is designed to work with the Tower System or in a stand alone setting.
The code of this demo has been prepared and updated for use with the MCUXpresso Configuration Tools (Pins/Clocks/Peripherals).
The ADC Low Power demo application demonstrates the usage of the ADC peripheral while in a low power mode. The
microcontroller is first set to very low power stop (VLPS) mode. Every 500 ms, an interrupt wakes up the ADC module and
reads the current temperature of the microcontroller. Increment or decrement the temperature to see the changes, red lights
for higher and blue one for lower than average counted temperatures.


Toolchain supported
===================
- Keil MDK 5.24a
- IAR embedded Workbench 8.22.2
- GCC ARM Embedded 7-2017-q4-major
- MCUXpresso10.2.0

Hardware requirements
=====================
- Mini/micro USB cable
- FRDM-KL27Z board
- Personal Computer

Board settings
==============
No special settings are required.

Prepare the Demo
================
1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo
================
When the demo runs successfully, the following message is displayed in the terminal:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ADC LOW POWER PERIPHERAL DEMO... ADC16_DoAutoCalibration() Done.

 OPERATING INSTRUCTIONS:
 The advanced Low Power ADC project is designed to work with the Tower System or in a stand alone setting.
 The code of this demo has been prepared and updated for use with the MCUXpresso Configuration Tools (Pins/Clocks/Peripherals).
 1. Set your target board in a place where the temperature is constant.
 2. Wait until the green LED light turns on, after initial temperature measurement finished.
 3. Increment or decrement the temperature to see the changes, red lights for higher and blue one for lower than average counted temperatures.
 Now wait until LED stops blinking...

 Enter any character to begin the demo...
 ---> OK! Main process is running...!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Customization options
=====================

