Overview
========
This demo describes how to use SDK drivers to implement the PWM feature by FLEXIO IP module.
It outputs the PWM singal with fixed frequency defined by "DEMO_FLEXIO_FREQUENCY" in source code
and dynamic duty from 99 to 1 to one of the FLEXIO pin.

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

Hardware requirements
=====================
- Micro USB cable
- FRDM-KL27Z board
- Personal Computer

Board settings
==============
The example requires connection between the flexio output pin and LED pin.
- J1-5, J2-11 connected
Use oscilloscope to measure output the 200KHz PWM signal pin at J1-5 pin of board.

Prepare the Demo
================
1. Connect a USB cable between the PC host and the OpenSDA USB port on the board.
2. Open a serial terminal with these 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 example.

Running the demo
================
When the demo runs successfully, you can see the RED LED from dim to light.Use oscilloscope to check the waveform.
And these messages are displayed/shown on the terminal window:
~~~~~~~~~~~~
FLEXIO_PWM demo start.
~~~~~~~~~~~~
Customization options
=====================

