/**
  ******************************************************************************
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * Copyright (C) 2018 Shanghai Eastsoft Microelectronics Co., Ltd. ALL rights reserved.
  *******************************************************************************
  */

<--------------------------------------------------------------------------------
Version history:
--------------------------------------------------------------------------------->
2018-10-29	V1.0.0	AE TEAM


<--------------------------------------------------------------------------------
Demo introduction:
--------------------------------------------------------------------------------->

@pin connection: 

see bsp layer module heard file。

@how to use

This demo show how to use ALD、BSP and Kernel library drivers to play a comprehensive program which include TFT_LCD、ADC
SD_CARD、BEEP、RTC、Micro_Kernel、KEY、ETH、GYRO、RGB、THMP、LED module.

At the beginning of the main program, the ald_cmu_init() function is called to initialize
the ALD library.The systic is configured as the default value"SYSTICK_INTERVAL_1MS"
(ststic interrupt occur per 1ms) in "utils.c",you can change the value in
application.To use the ALD library the ald_cmu_init() function should be called
firstly,and ald_inc_tick_weak() function should be called in SysTick_Handler().

In ald_dma_init() function,the DMA controller is enabled and the NVIC of DMA interrupt
is enabled if ALD_DMA defined.

In user_init() function,the following items is required:
    1) Config NVIC;
    2) Config GPIO;
    3) Config Module;
    4) Config Micro_Kernel;

<--------------------------------------------------------------------------------
The main document introduction:
--------------------------------------------------------------------------------->
system:
startup_es32f065x.s ------- Startup file

user:
irq.c -------------------- Interrupt handlers file
main.c ------------------- Main source file
main.h ------------------- Main header file

major ald lib:
utils.c ------------------ ALD drivers configuration file
ald_cmu.c ---------------- CMU ALD drivers file
ald_dma.c ---------------- DMA ALD drivers file
ald_gpio.c --------------- GPIO ALD drivers file
ald_uart.c --------------- UART ALD drivers file
ald_rtc.c ---------------- RTC ALD drivers file
ald_adc.c ---------------- ADC ALD drivers file
ald_i2c.c ---------------- I2C ALD drivers file
ald_adc.c ---------------- ADC ALD drivers file
ald_spi.c ---------------- SPI ALD drivers file

major bsp lib：
bsp_w5500.c -------------- ETH BSP drivers file
bsp_adc.c ---------------- ADC BSP drivers file
bsp_buzzer.c ------------- BUZZER BSP drivers file
bsp_dht11.c -------------- TEMP BSP drivers file
bsp_display.c ------------ DISPLAY BSP drivers file
bsp_key.c ---------------- KEY BSP drivers file
bsp_led.c ---------------- LED BSP drivers file
bsp_micro_sd.c ----------- SD_CARD BSP drivers file
bsp_mpu9250.c ------------ GYRO BSP drivers file
bsp_rgb.c ---------------- RGB BSP drivers file
bsp_rtc.c ---------------- RTC BSP drivers file

sys lib:
ke.lib ------------------- MICRO_KERNEL drivers lib