• 大小: 13.03MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-30
  • 语言: 其他
  • 标签: stm32  winusb  vcp  

资源简介

stm32无需安装vcp驱动程序了 1 修改stm32 cdc,将stm cdc变为winusb类型设备 2 制作一个inf,插入usb时可作为驱动的选择 3 winusb .net中间件来作为上位机与stm32的usb通讯模块

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    system_stm32f0xx.c
  * @author  MCD Application Team
  * @brief   CMSIS Cortex-M0 Device Peripheral Access layer System Source File.
  *
  * 1. This file provides two functions and one global variable to be called from
  *    user application:
  *      - SystemInit(): This function is called at startup just after reset and 
  *                      before branch to main program. This call is made inside
  *                      the “startup_stm32f0xx.s“ file.
  *
  *      - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
  *                                  by the user application to setup the SysTick
  *                                  timer or configure other parameters.
  *
  *      - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
  *                                 be called whenever the core clock is changed
  *                                 during program execution.
  *
  * 2. After each device reset the HSI (8 MHz) is used as system clock source.
  *    Then SystemInit() function is called in “startup_stm32f0xx.s“ file to
  *    configure the system clock before to branch to main program.
  *
  * 3. This file configures the system clock as follows:
  *=============================================================================
  *                         Supported STM32F0xx device
  *-----------------------------------------------------------------------------
  *        System Clock source                    | HSI
  *-----------------------------------------------------------------------------
  *        SYSCLK(Hz)                             | 8000000
  *-----------------------------------------------------------------------------
  *        HCLK(Hz)                               | 8000000
  *-----------------------------------------------------------------------------
  *        AHB Prescaler                          | 1
  *-----------------------------------------------------------------------------
  *        APB1 Prescaler                         | 1
  *-----------------------------------------------------------------------------
  *=============================================================================
  ******************************************************************************
  * @attention
  *
  * 

© COPYRIGHT(c) 2016 STMicroelectronics


  *
  * Redistribution and use in source and binary forms with or without modification
  * are permitted provided that the following conditions are met:
  *   1. Redistributions of source code must retain the above copyright notice
  *      this list of conditions and the following disclaimer.
  *   2. Redistributions in binary form must reproduce the above copyright notice
  *      this list of conditions and the following disclaimer in the documentation
  *      and/or other materials provided with the

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-09-29 01:20  STM32WINUSB-master\
     文件        2518  2018-09-29 01:20  STM32WINUSB-master\.gitattributes
     文件         270  2018-09-29 01:20  STM32WINUSB-master\.gitignore
     文件        1916  2018-09-29 01:20  STM32WINUSB-master\README.md
     目录           0  2018-09-29 01:20  STM32WINUSB-master\STM32F0\
     目录           0  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\
     文件         965  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\.gitignore
     文件        6228  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\.mxproject
     目录           0  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\
     目录           0  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\
     目录           0  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\
     目录           0  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\
     目录           0  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\
     文件        4949  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_f32.c
     文件        5279  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q15.c
     文件        4301  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q31.c
     文件        4933  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q7.c
     文件        4741  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_f32.c
     文件        4283  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q15.c
     文件        4405  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q31.c
     文件        4092  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q7.c
     文件        4478  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_f32.c
     文件        4772  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q15.c
     文件        4857  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q31.c
     文件        5249  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q7.c
     文件        5408  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_f32.c
     文件        5152  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q15.c
     文件        5041  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q31.c
     文件        4403  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q7.c
     文件        4428  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_f32.c
     文件        4479  2018-09-29 01:20  STM32WINUSB-master\STM32F0\STM32F0WINUSB\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_q15.c
............此处省略731个文件信息

评论

共有 条评论