nacomparator: Comparator Application.  
This application is only for NS9215 based platform.

This application is using Comparator API to get the status and
to install interrupt for the comparators in the naComparatorTable given in the platform.

naComparatorTable currently contains two comparators for NS9215.
Check and make sure the first comparator in the table is RTC Power Loss comparator and the 
next comparator is Early Power Loss. 

This example starts doing API error checking. Print out will be shown on the dialog when
incorrect error returns.

It also calls the API to install ISR handler for early power loss comparator. 
The ISR handler records the time in number of ticks when ISR handler is called. 

A thread is intialized and started to get the status for both 
RTC battery loss and early power loss comparators. 

Print out will be shown on the dialog when RTC battery loss and/or early power loss is triggered.

The board should be modified so that RTC battery loss and early power loss can be triggered by
disconnecting the jumper.


The following files are provided with this application:

appconf.h           sets application configuration settings
makefile            Make file for the GNU toolset.
readme              this file
root.c              contains the applicationStart() function, that
                    creates an application thread

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

