diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-09 17:00:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-09 17:00:03 +0000 |
commit | 7f87eee586adf22f28b1687ef92051065a0a5ee5 (patch) | |
tree | a3d199558c7671e31e9ebac4f79f8f4596e2493e /os/hal/include/sdc.h | |
parent | 8f8b7f2c69575736da9004c8dc45c770b0f08c48 (diff) | |
download | ChibiOS-7f87eee586adf22f28b1687ef92051065a0a5ee5.tar.gz ChibiOS-7f87eee586adf22f28b1687ef92051065a0a5ee5.tar.bz2 ChibiOS-7f87eee586adf22f28b1687ef92051065a0a5ee5.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4178 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/sdc.h')
-rw-r--r-- | os/hal/include/sdc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/include/sdc.h b/os/hal/include/sdc.h index 82b083125..20c15c211 100644 --- a/os/hal/include/sdc.h +++ b/os/hal/include/sdc.h @@ -102,6 +102,7 @@ #define SDC_STARTBIT_ERROR 64 /**< @brief Start bit not detected.*/
#define SDC_OVERFLOW_ERROR 128 /**< @brief Card overflow error. */
#define SDC_UNHANDLED_ERROR 0xFFFFFFFF
+/** @} */
/*===========================================================================*/
/* Driver pre-compile time settings. */
@@ -332,6 +333,8 @@ extern "C" { bool_t sdcWrite(SDCDriver *sdcp, uint32_t startblk,
const uint8_t *buffer, uint32_t n);
sdcflags_t sdcGetAndClearErrors(SDCDriver *sdcp);
+ bool_t sdcSync(SDCDriver *sdcp);
+ bool_t sdcGetInfo(SDCDriver *sdcp, BlockDeviceInfo *bdip);
bool_t _sdc_wait_for_transfer_state(SDCDriver *sdcp);
#ifdef __cplusplus
}
|