hal_mmc_spi.dox 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. /**
  14. * @defgroup MMC_SPI MMC over SPI Driver
  15. * @brief Generic MMC driver.
  16. * @details This module implements a portable MMC/SD driver that uses a SPI
  17. * driver as physical layer. Hot plugging and removal are supported
  18. * through kernel events.
  19. * @pre In order to use the MMC_SPI driver the @p HAL_USE_MMC_SPI and
  20. * @p HAL_USE_SPI options must be enabled in @p halconf.h.
  21. *
  22. * @section mmc_spi_1 Driver State Machine
  23. * This driver implements a state machine internally, see the @ref IO_BLOCK
  24. * module documentation for details.
  25. *
  26. * @section mmc_spi_2 Driver Operations
  27. * This driver allows to read or write single or multiple 512 bytes blocks
  28. * on a SD Card.
  29. *
  30. * @ingroup HAL_COMPLEX_DRIVERS
  31. */