PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
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