资源简介
STM32L476RC平台的关于SDMMC+fatfs的demo工程:亲测有效,4线传输,读写采用HAL库HAL_SD_ReadBlocks();HAL_SD_WriteBlocks();函数的轮询方式
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32l4xx.c
* @author MCD Application Team
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File
*
* 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_stm32l4xx.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.
*
* After each device reset the MSI (4 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32l4xx.s“ file to
* configure the system clock before to branch to main program.
*
* This file configures the system clock as follows:
*=============================================================================
*-----------------------------------------------------------------------------
* System Clock source | MSI
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 4000000
*-----------------------------------------------------------------------------
* HCLK(Hz) | 4000000
*-----------------------------------------------------------------------------
* AHB Prescaler | 1
*-----------------------------------------------------------------------------
* APB1 Prescaler | 1
*-----------------------------------------------------------------------------
* APB2 Prescaler | 1
*-----------------------------------------------------------------------------
* PLL_M | 1
*-----------------------------------------------------------------------------
* PLL_N | 8
*-----------------------------------------------------------------------------
* PLL_P | 7
*-----------------------------------------------------------------------------
* PLL_Q | 2
*-----------------------------------------------------------------------------
* PLL_R | 2
*---------------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 8690 2019-03-26 10:54 sd\.mxproject
文件 821626 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l412xx.h
文件 838082 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l422xx.h
文件 1149820 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l431xx.h
文件 1129578 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l432xx.h
文件 1218912 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l433xx.h
文件 1146034 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l442xx.h
文件 1235368 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l443xx.h
文件 1171909 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l451xx.h
文件 1229667 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l452xx.h
文件 1246123 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l462xx.h
文件 1293344 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l471xx.h
文件 1419127 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l475xx.h
文件 1430461 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l476xx.h
文件 1435583 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l485xx.h
文件 1446917 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l486xx.h
文件 1532152 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l496xx.h
文件 1555912 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4a6xx.h
文件 1560173 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4r5xx.h
文件 1596821 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4r7xx.h
文件 1825180 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4r9xx.h
文件 1584602 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4s5xx.h
文件 1621250 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4s7xx.h
文件 1849609 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4s9xx.h
文件 8980 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4xx.h
文件 3874 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Include\system_stm32l4xx.h
文件 18098 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l412xx.s
文件 18187 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l422xx.s
文件 18826 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l431xx.s
文件 18504 2018-10-15 14:42 sd\Drivers\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l432xx.s
............此处省略813个文件信息
- 上一篇:航空订票管理系统毕设定制开发免费共享
- 下一篇:ERP多仓库
相关资源
- AD7616资源.7z
- IOS新闻demo
- List Control动态修改编辑Demo
- 讯飞在线语音合成Demo
- QQ聊天室 包括私聊功能
- 坦克大战,unity
- RedisCacheDemo
- 海康布防警报demo
- devexpress第三方控件库demo使用
- SSM框架demospringMVC+spring+mybatis
- 海康摄像头web控件开发demo
- GreenDaoDemo_v3.2.2_Winter
- cmake2.8版本(含windows和linux安装包以及
- Windows下用SSL实现加密通讯Demo
-
xm
l+XSL/FO生成PDF文件Demo - Cxf 和wss4j实现ws-security的demo
- XCP_Demo_源代码
- FragmentDemo
- trio控件Demo
- spring+quartz动态处理任务demo
- UReport使用手册docx、typora、demo案例以
- mvc详细demo
- 完整EFdemo
- FMX实用DEMO(Rev.2018013101).rar
- zw_ionicDemo.zip
- sso完整demo,可直接运行
- vlc-3.0.4 插件-demo
- echarts大数据领导仓demo.rar
- Maven+Spring+SpringMVC+MyBatis+FreeMarker模版为
- 利用openCV识别图片Demo
评论
共有 条评论