/*!
 * @file        readme.txt
 *
 * @brief       This file is routine instruction
 *
 * @version     V1.0.3
 *
 * @date        2022-12-01
 *
 * @attention
 *
 *  Copyright (C) 2020-2022 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */


&par Example Description

This example erases one sector of W25Q64, programs 16 bytes, then reads them
back. Both directions use QSPI DMA. No QSPI or DMA interrupt is enabled.

DMA1 channel 4 moves QSPI receive data. DMA1 channel 5 moves QSPI transmit
data. Each frame is one 32-bit access of the QSPI data register.
The program waits on the DMA transfer-complete flags.

USART1 prints the 16 read bytes. When they match 00..0F, it prints "pass"
and LED2 stays on. A JEDEC ID other than EF 40 17, a compare error, or a
DMA timeout prints "fail".

&par Hardware Description

    - QSPI IO0/IO1/IO2: PB13/PB14/PB15
    - QSPI IO3/CLK:    PD8/PD10
    - QSPI CS:         PD12, GPIO, idle high
    - USART1:          115200 8N1, TX only
    - LED2:            PE6, active low

&par Directory contents

  - QSPI/QSPI_ReadWriteDMA/Source/apm32f10x_int.c    Interrupt handlers
  - QSPI/QSPI_ReadWriteDMA/Source/main.c             Main program

&par IDE environment

  - MDK-ARM V5.36
  - EWARM V8.50.5.26295

&par Hardware and Software environment

  - This example runs on APM32F103_MINI Devices.
