napwmstep: Pulse Width Modulation step control
This application is used to demonstrate how Pulse Width Modulation 
step control can be used for fine control.

This example works on NS9210 and NS9215 based development boards only.

To test the PWM STEP API do the following:
==========================================
1. For NS9210 development boards
	1. Configure timer 6 and 9 output to a GPIO pin
	   BSP_GPIO_MUX_TIMER_6_OUTPUT 	BSP_GPIO_MUX_USE_PRIMARY_PATH
	   BSP_GPIO_MUX_TIMER_9_OUTPUT 	BSP_GPIO_MUX_USE_PRIMARY_PATH
	2. Make sure both serial PORT A and C are configured as 2 wire, 
                   otherwise you will see GPIO conflict
2. For NS9215 development boards
	1. Configure timer 8 and 9 output to a GPIO pin
	   BSP_GPIO_MUX_TIMER_8_OUTPUT 	BSP_GPIO_MUX_USE_PRIMARY_PATH
	   BSP_GPIO_MUX_TIMER_9_OUTPUT 	BSP_GPIO_MUX_USE_PRIMARY_PATH
	2. Make sure serial PORT C is configured as 2 wire, otherwise you will
	   see GPIO conflict	
3.  Build BSP and this application
4.  Connect the scope to the configured timer output 
5.  Power up the development board and the ICE.
6.  Start the debugger and download the application to the board.
7.  Run the application.
    
What this example does?
=======================
1. Calls naPwmExtSetSynchronousStart() to reset timer 6/8 and 9
2. Starts the threads for channel 6/8 and channel 9 for stepped PWM control
3. Calls naPwmExtSetSynchronousStart() after channels are configured to enable 
   timer 6/8 and 9 as well as their step control 
4. Thread configures the channel with the values set in pwmChannelConfig table
   entry in root.c
5. Thread checks the high, low and reload counter values to see whether we
   reached the steady state
6. Channel 6/8 reaches steady state in approximatly 80 seconds with the current 
   channel configuration and channel 9 takes about 160 seconds to reach steady
   state

How to test?
============
Connect the scope to the following pins
For NS9210 based boards
    PWM channel 6 - Timer 6 output (GPIO 5)
    PWM channel 9 - Timer 9 output (GPIO 13)
For NS9215 based boards
    PWM channel 8 - Timer 8 output (GPIO 8)
    PWM channel 9 - Timer 9 output (GPIO 13)

The following files are provided with this application:

appconf.h           sets application configuration settings
.\32b\makefile      Make file for the GNU toolset.
readme              this file
root.c              contains the applicationStart() function, that
                    that intern calls the PWM APIs

In addition, the following files in the BSP directory are built
as part of this application:

appconf_api.c   contains run time access to the application configuration

The application uses the following files located in the
netos\src\linkerScripts directory.  These files are generated
when the BSP is built.

bootldr.dat     bootloader configuration file used to generate the
                file image.bin.  It controls the information placed
                in the bootloader header of the image.

image.ldr       GNU linker script used to build an image that can
                be debugged and used with the bootloader.
                
customize.ldr   Customizable GNU linker script

