/*!
 * @file        readme.txt
 *
 * @brief       This file is routine instruction
 *
 * @version     V1.0.0
 *
 * @date        2022-09-29
 *
 * @attention
 *
 *  Copyright (C) 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 usefull 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 describes how to use the USB device module on APM32F072 to
enumerate as a Virtual Com Port. This example use PC as host, you can use
serial assistant to transfer USB data. Once serial assistant send data to
device through the Virtual Com Port that USB enumerated, then device will
send the same data back to PC.

The USART1 is configured as follows:
    - TX:PA9, RX:PA10
    - BaudRate = 115200 baud
    - Word Length = 8 Bits
    - One Stop Bit
    - No parity
    - Hardware flow control disabled (RTS and CTS signals)
    - Receive and transmit enabled

&par Hardware Description
    - PA11 -> USBD-
    - PA12 -> USBD+
    - Close J7
    - Close J1 and J3

&par Directory contents

  - USB/USB_CDC_VirtualCOMPort/Source/apm32f0xx_int.c       Interrupt handlers
  - USB/USB_CDC_VirtualCOMPort/Source/usbd_cdc.c            USB CDC handlers
  - USB/USB_CDC_VirtualCOMPort/Source/usbd_descriptor.c     USB CDC Descriptor
  - USB/USB_CDC_VirtualCOMPort/Source/usbd_bsp.c            USB device board support package
  - USB/USB_CDC_VirtualCOMPort/Source/main.c                Main program

&par IDE environment

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

&par Hardware and Software environment

  - This example runs on APM32F072 EVAL Devices.
