PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
524B

  1. #ifndef _NXP_SDHC_H
  2. #define _NXP_SDHC_H
  3. #define SDHC_STATUS_NOINIT 0x01 /* Drive not initialized */
  4. #define SDHC_STATUS_NODISK 0x02 /* No medium in the drive */
  5. #define SDHC_STATUS_PROTECT 0x04 /* Write protected */
  6. uint8_t SDHC_CardInit(void);
  7. uint8_t SDHC_CardGetType(void);
  8. //uint8_t SDHC_CardGetStatus(void);
  9. //uint32_t SDHC_CardGetBlockCnt(void);
  10. int SDHC_CardReadBlock(void * buff, uint32_t sector);
  11. int SDHC_CardWriteBlock(const void * buff, uint32_t sector);
  12. #endif