资源简介
使用Helix库软解播放MP3,效果还可以。
MP3文件支持标准的采用率(27000这种非标准采样率不支持),支持CBR与VBR
主芯片使用STM32F103RET,STM32F103VET,STM32F103ZET及更高RAM的芯片
SD卡仅支持FAT32文件格式(exFAT不支持)
不支持长文件名,只支持8.3文件名格式,不支持中文文件名
播放的音频文件需要放在\music目录下
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f1xx.c
* @author MCD Application Team
* @version V4.1.0
* @date 29-April-2016
* @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) 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 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 542970 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xb.h
文件 587973 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xe.h
文件 492587 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101x6.h
文件 502788 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xb.h
文件 580299 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xe.h
文件 597371 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xg.h
文件 585549 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102x6.h
文件 594987 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102xb.h
文件 917060 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103x6.h
文件 927261 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h
文件 1013638 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h
文件 1027719 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xg.h
文件 1300804 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f105xc.h
文件 1381619 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f107xc.h
文件 8815 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
文件 3335 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
文件 15094 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xb.s
文件 16682 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xe.s
文件 12531 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101x6.s
文件 12904 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xb.s
文件 15016 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xe.s
文件 15775 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xg.s
文件 12853 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f102x6.s
文件 13238 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f102xb.s
文件 13416 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103x6.s
文件 13801 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
文件 16358 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
文件 16812 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xg.s
文件 16620 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f105xc.s
文件 16800 2016-07-19 09:58 SD播放MP3\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f107xc.s
............此处省略577个文件信息
- 上一篇:员工培训管理系统(论文+代码)
- 下一篇:Access 数据库 电子学习课件
评论
共有 条评论