STM32SD-main.zip

  • rafik2019
    了解作者
  • C/C++
    开发工具
  • 37.6KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 5 积分
    下载积分
  • 0
    下载次数
  • 2022-01-18 10:32
    上传日期
sdio routine to learn configuting with cubemx
STM32SD-main.zip
  • STM32SD-main
  • src
  • Sd2Card.cpp
    3.8KB
  • bsp_sd.h
    5.3KB
  • SdFatFs.cpp
    2.6KB
  • ffconf_default_68300.h
    12.8KB
  • STM32SD.h
    2.4KB
  • ffconf_default_32020.h
    10.1KB
  • bsp_sd.c
    17.4KB
  • ffconf.h
    442B
  • SD.cpp
    13.6KB
  • Sd2Card.h
    2.6KB
  • SdFatFs.h
    3.6KB
  • examples
  • DumpFile
  • DumpFile.ino
    1.3KB
  • Full
  • Full.ino
    8.8KB
  • Files
  • Files.ino
    1.6KB
  • Datalogger
  • Datalogger.ino
    1.9KB
  • CardInfo
  • CardInfo.ino
    2.4KB
  • ReadWrite
  • ReadWrite.ino
    1.7KB
  • listfiles
  • listfiles.ino
    1.7KB
  • keywords.txt
    707B
  • README.md
    2.3KB
  • library.properties
    537B
  • .gitignore
    6B
  • library.json
    394B
内容介绍
# STM32 SD library for Arduino With an STM32 board with SD card slot availability, this library enables reading and writing on SD card using SD card slot of a STM32 board (NUCLEO, DISCOVERY, ...). This library is for SD card slots connected to the SDIO-/SDMMC-hardware of the processor. For slots connected to SPI-hardware use the standard Arduino SD library. This library follow Arduino API. For more information about it, please visit: http://www.arduino.cc/en/Reference/SD ## Dependency This library is based on FatFs, a generic FAT file system module for small embedded systems. [http://elm-chan.org/fsw/ff](http://elm-chan.org/fsw/ff/00index_e.html) The FatFs has been ported as Arduino library [here](https://github.com/stm32duino/FatFs). The STM32SD library depends on it. ## Configuration ### FatFs The FatFs has several user defined options, which is specified from within the `ffconf.h` file. This library provides a default user defined options file named `ffconf_default.h`. User can provide his own defined options by adding his configuration in a file named `ffconf_custom.h` at sketch level or in variant folder. ### SD Some default definitions can be overridden using: * board `variant.h` * `build_opt.h`: see [Customize build options](https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h) * `hal_conf_extra.h`: see [HAL configuration](https://github.com/stm32duino/wiki/wiki/HAL-configuration) #### SD configurations * `SD_INSTANCE`: some STM32 can have 2 SD peripherals `SDMMC1` and `SDMMC2`, note that this library can managed only one peripheral * `SDMMC1` (default) * `SDMMC2` * `SD_HW_FLOW_CTRL`: specifies whether the SDMMC hardware flow control is enabled or disabled * `SD_HW_FLOW_CTRL_ENABLE` * `SD_HW_FLOW_CTRL_DISABLE` (default) * `SD_BUS_WIDE`: specifies the SDMMC bus width * `SD_BUS_WIDE_1B` * `SD_BUS_WIDE_4B` (default) * `SD_BUS_WIDE_8B` #### SD Transceiver * `SD_TRANSCEIVER_MODE`: specifies whether external Transceiver is enabled or disabled. Available only on some STM32 * `SDMMC_TRANSCEIVER_ENABLE` * `SDMMC_TRANSCEIVER_DISABLE` (default) * `SD_TRANSCEIVER_EN` pin number to enable the level shifter * `SD_TRANSCEIVER_SEL` pin number for voltage selection #### SD detect and timeout * `SD_DETECT_PIN` pin number * `SD_DATATIMEOUT` constant for Read/Write block
评论
    相关推荐
    • STM32/STM8 彩屏驱动程序
      STM32/STM8 彩屏驱动程序,内涵几十种驱动芯片对应的程序,玩彩屏必须收藏。
    • ST三合一套件学习stm32和stm8
      ST三合一套件学习ST三合一套件学习stm32和stm8
    • libstm8:STM8 微控制器库
      libstm8 STM8 微控制器的 C 库。 现在我只有 stm8l152 用于测试。 我想为 STM32 微控制器创建具有类似于库的 API 的库。 您可以使用为 STM8 控制器编译自己的项目,并使用实用程序对其进行闪存。
    • AD Altium Designer STM8 STM32 库
      AD Altium Designer STM 库,有封装、原理图。包含STM8和STM32系列。
    • STM8S Firmware Library.zip
      FWLib\examples\ADC2\ADC2_ContinuousConversion\stm8_interrupt_vector.c FWLib\examples\ADC2\ADC2_TriggerConversion FWLib\examples\ADC2\ADC2_TriggerConversion\main.c FWLib\examples\ADC2\ADC2_...
    • STM8S_development.zip
      如何开始STM8S系列单片机的开发,搭建开发环境等
    • stm8_demos.rar
      stm8编程例子,实现内存设置、端口设置、简单的控制,等等
    • stm8-master.zip
      Stm8 pwm development tools, c code file only.
    • stm8S en.stsw-stm8069.zip
      STM8s std peripheral
    • 2157_stm8ef.zip
      I read Unique ID from address 0x48CD to 0x48D8, byte per byte, on two STM8S105C6 with functions provided by stm8s_flash.c [FLASH_readbyte()]. The results are: x wafer: 0x001B y wafer: ...