1
0

sd.h 795 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __SD_H__
  2. #define __SD_H__
  3. /*
  4. * File : sd.h
  5. * This file is part of RT-Thread RTOS
  6. * COPYRIGHT (C) 2006, RT-Thread Development Team
  7. *
  8. * The license and distribution terms for this file may be
  9. * found in the file LICENSE in this distribution or at
  10. * http://www.rt-thread.org/license/LICENSE
  11. *
  12. * Change Logs:
  13. * Date Author Notes
  14. * 2011-07-25 weety first version
  15. */
  16. #include <rtthread.h>
  17. #include "mmcsd_host.h"
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. rt_err_t mmcsd_send_if_cond(struct rt_mmcsd_host *host, rt_uint32_t ocr);
  22. rt_err_t mmcsd_send_app_op_cond(struct rt_mmcsd_host *host, rt_uint32_t ocr, rt_uint32_t *rocr);
  23. rt_int32_t init_sd(struct rt_mmcsd_host *host, rt_uint32_t ocr);
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif