资源简介

整理了使用stm32cubemx配置usb hid、 cdc 以及配置hid+cdc组合设备的文档以及对应工程。

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    system_stm32f1xx.c
  * @author  MCD Application Team
  * @version V4.2.0
  * @date    31-March-2017
  * @brief   CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
  * 
  * 1.  This file provides two functions and one global variable to be called from 
  *     user application:
  *      - SystemInit(): Setups the system clock (System clock source PLL Multiplier
  *                      factors AHB/APBx prescalers and Flash settings). 
  *                      This function is called at startup just after reset and 
  *                      before branch to main program. This call is made inside
  *                      the “startup_stm32f1xx_xx.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_stm32f1xx_xx.s“ file to
  *    configure the system clock before to branch to main program.
  *
  * 4. The default value of HSE crystal is set to 8 MHz (or 25 MHz depending on
  *    the product used) refer to “HSE_VALUE“. 
  *    When HSE is used as system clock source directly or through PLL and you
  *    are using different crystal you have to adapt the HSE value to your own
  *    configuration.
  *        
  ******************************************************************************
  * @attention
  *
  * 

© COPYRIGHT(c) 2017 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 distribution.
  *   3. Neither the name of STMicroelectronics nor the names of its contributors
  *      may be used to endorse or promote products derived from this software
  *      without specific prior written permission.
  *
  * 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 WARRANTIE

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-10-07 23:18  stm32f103-cube配置-USB组合设备\
     文件      492785  2019-10-07 23:15  stm32f103-cube配置-USB组合设备\stm32cube_usb_cdc.pdf
     文件      677921  2019-10-07 23:15  stm32f103-cube配置-USB组合设备\stm32cube_usb_hid_cdc组合设备.pdf
     文件      635285  2019-10-07 23:15  stm32f103-cube配置-USB组合设备\stm32cube_usb_hid键鼠.pdf
     目录           0  2019-10-07 21:59  stm32f103-cube配置-USB组合设备\USB_CDC\
     文件        8175  2019-10-07 21:59  stm32f103-cube配置-USB组合设备\USB_CDC\.mxproject
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\
     文件      499462  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xb.h
     文件      544671  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xe.h
     文件      450133  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101x6.h
     文件      460506  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xb.h
     文件      538320  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xe.h
     文件      553362  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xg.h
     文件      542861  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102x6.h
     文件      552467  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102xb.h
     文件      874522  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103x6.h
     文件      884899  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h
     文件      971936  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h
     文件      986030  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xg.h
     文件     1261567  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f105xc.h
     文件     1342402  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f107xc.h
     文件        8788  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
     文件        3337  2019-07-03 23:29  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Source\
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\
     目录           0  2019-10-07 21:42  stm32f103-cube配置-USB组合设备\USB_CDC\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\
............此处省略2055个文件信息

评论

共有 条评论