【E141】使用STM32的虚拟串口模拟CH340

2021-08-15 20:29:45      索炜达电子      668     

项目编号:E141

文件大小:520K

源码说明:带中文注释

开发环境:C编译

简要概述:

使用STM32的虚拟串口模拟CH340

开发环境

-STM32F103C8T6

-基于STM32CubeMX

-使用MDK Keil 5编程

【E141】使用STM32的虚拟串口模拟CH340

文件列表

目录│文件列表:

 └ STM32_USB_CH340

    ├ Core

    │  ├ Inc

    │  │  │ ch340.h

    │  │  │ gpio.h

    │  │  │ main.h

    │  │  │ stm32f1xx_hal_conf.h

    │  │  └ stm32f1xx_it.h

    │  └ Src

    │     │ ch340.c

    │     │ gpio.c

    │     │ main.c

    │     │ stm32f1xx_hal_msp.c

    │     │ stm32f1xx_it.c

    │     └ system_stm32f1xx.c

    ├ Drivers

    │  ├ CMSIS

    │  │  ├ Device

    │  │  │  └ ST

    │  │  │     └ STM32F1xx

    │  │  │        └ Include

    │  │  │           │ stm32f103xb.h

    │  │  │           │ stm32f1xx.h

    │  │  │           └ system_stm32f1xx.h

    │  │  └ Include

    │  │     │ cmsis_armcc.h

    │  │     │ cmsis_armclang.h

    │  │     │ cmsis_compiler.h

    │  │     │ cmsis_gcc.h

    │  │     │ cmsis_iccarm.h

    │  │     │ cmsis_version.h

    │  │     │ core_armv8mbl.h

    │  │     │ core_armv8mml.h

    │  │     │ core_cm0.h

    │  │     │ core_cm0plus.h

    │  │     │ core_cm1.h

    │  │     │ core_cm23.h

    │  │     │ core_cm3.h

    │  │     │ core_cm33.h

    │  │     │ core_cm4.h

    │  │     │ core_cm7.h

    │  │     │ core_sc000.h

    │  │     │ core_sc300.h

    │  │     │ mpu_armv7.h

    │  │     │ mpu_armv8.h

    │  │     └ tz_context.h

    │  └ STM32F1xx_HAL_Driver

    │     ├ Inc

    │     │  │ stm32f1xx_hal.h

    │     │  │ stm32f1xx_hal_cortex.h

    │     │  │ stm32f1xx_hal_def.h

    │     │  │ stm32f1xx_hal_dma.h

    │     │  │ stm32f1xx_hal_dma_ex.h

    │     │  │ stm32f1xx_hal_exti.h

    │     │  │ stm32f1xx_hal_flash.h

    │     │  │ stm32f1xx_hal_flash_ex.h

    │     │  │ stm32f1xx_hal_gpio.h

    │     │  │ stm32f1xx_hal_gpio_ex.h

    │     │  │ stm32f1xx_hal_pcd.h

    │     │  │ stm32f1xx_hal_pcd_ex.h

    │     │  │ stm32f1xx_hal_pwr.h

    │     │  │ stm32f1xx_hal_rcc.h

    │     │  │ stm32f1xx_hal_rcc_ex.h

    │     │  │ stm32f1xx_hal_tim.h

    │     │  │ stm32f1xx_hal_tim_ex.h

    │     │  │ stm32f1xx_ll_usb.h

    │     │  └ Legacy

    │     │     └ stm32_hal_legacy.h

    │     └ Src

    │        │ stm32f1xx_hal.c

    │        │ stm32f1xx_hal_cortex.c

    │        │ stm32f1xx_hal_dma.c

    │        │ stm32f1xx_hal_exti.c

    │        │ stm32f1xx_hal_flash.c

    │        │ stm32f1xx_hal_flash_ex.c

    │        │ stm32f1xx_hal_gpio.c

    │        │ stm32f1xx_hal_gpio_ex.c

    │        │ stm32f1xx_hal_pcd.c

    │        │ stm32f1xx_hal_pcd_ex.c

    │        │ stm32f1xx_hal_pwr.c

    │        │ stm32f1xx_hal_rcc.c

    │        │ stm32f1xx_hal_rcc_ex.c

    │        │ stm32f1xx_hal_tim.c

    │        │ stm32f1xx_hal_tim_ex.c

    │        └ stm32f1xx_ll_usb.c

    ├ MDK-ARM

    │  │ CDC_TEST.uvoptx

    │  │ CDC_TEST.uvprojx

    │  └ startup_stm32f103xb.s

    ├ Middlewares

    │  └ ST

    │     └ STM32_USB_Device_Library

    │        ├ Class

    │        │  └ CDC

    │        │     ├ Inc

    │        │     │  └ usbd_cdc.h

    │        │     └ Src

    │        │        └ usbd_cdc.c

    │        └ Core

    │           ├ Inc

    │           │  │ usbd_core.h

    │           │  │ usbd_ctlreq.h

    │           │  │ usbd_def.h

    │           │  └ usbd_ioreq.h

    │           └ Src

    │              │ usbd_core.c

    │              │ usbd_ctlreq.c

    │              └ usbd_ioreq.c

    └ USB_DEVICE

       ├ App

       │  │ usbd_cdc_if.c

       │  │ usbd_cdc_if.h

       │  │ usbd_desc.c

       │  │ usbd_desc.h

       │  │ usb_device.c

       │  └ usb_device.h

       └ Target

          │ usbd_conf.c

          └ usbd_conf.h

TAG虚拟串口
  • 8 次
  • 1 分