aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/sdc_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-02 15:23:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-02 15:23:50 +0000
commit31456cb4fea72d79b9c1af9a5b0cc7e3fed1ed6e (patch)
treeedd790c30758bf9cef1e70e1066fa0a909547f76 /os/hal/platforms/STM32/sdc_lld.c
parent9dd9aca2d4da2c346b3dd48ce532bdd07ac913f6 (diff)
downloadChibiOS-31456cb4fea72d79b9c1af9a5b0cc7e3fed1ed6e.tar.gz
ChibiOS-31456cb4fea72d79b9c1af9a5b0cc7e3fed1ed6e.tar.bz2
ChibiOS-31456cb4fea72d79b9c1af9a5b0cc7e3fed1ed6e.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2914 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/sdc_lld.c')
-rw-r--r--os/hal/platforms/STM32/sdc_lld.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/sdc_lld.c b/os/hal/platforms/STM32/sdc_lld.c
index bc6855fed..b289da8ba 100644
--- a/os/hal/platforms/STM32/sdc_lld.c
+++ b/os/hal/platforms/STM32/sdc_lld.c
@@ -301,6 +301,42 @@ bool_t sdc_lld_send_cmd_long_crc(SDCDriver *sdcp, uint8_t cmd, uint32_t arg,
return FALSE;
}
+/**
+ * @brief Data read through the SDIO bus.
+ *
+ * @param[in] sdcp pointer to the @p SDCDriver object
+ * @param[out] buf pointer to the read buffer
+ * @param[in] n number of blocks to read
+ * @return The operation status.
+ * @retval FALSE operation succeeded, the requested blocks have been
+ * read.
+ * @retval TRUE operation failed, the state of the buffer is uncertain.
+ *
+ * @notapi
+ */
+bool_t sdc_lld_read_blocks(SDCDriver *sdcp, uint8_t *buf, uint32_t n) {
+
+ return TRUE;
+}
+
+/**
+ * @brief Data write through the SDIO bus.
+ *
+ * @param[in] sdcp pointer to the @p SDCDriver object
+ * @param[out] buf pointer to the write buffer
+ * @param[in] n number of blocks to write
+ * @return The operation status.
+ * @retval FALSE operation succeeded, the requested blocks have been
+ * written.
+ * @retval TRUE operation failed.
+ *
+ * @notapi
+ */
+bool_t sdc_lld_write_blocks(SDCDriver *sdcp, const uint8_t *buf, uint32_t n) {
+
+ return TRUE;
+}
+
#endif /* HAL_USE_SDC */
/** @} */