Browse Source

Merge pull request #152 from FrankBoesing/patch-1

fix SDHC_XFERTYP_RSPTYP
main
Paul Stoffregen 8 years ago
parent
commit
77411348a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/kinetis.h

+ 1
- 1
teensy3/kinetis.h View File

@@ -5028,7 +5028,7 @@ typedef struct __attribute__((packed)) {
#define SDHC_XFERTYP_DPSEL ((uint32_t)0x00200000) // Data Present Select
#define SDHC_XFERTYP_CICEN ((uint32_t)0x00100000) // Command Index Check Enable
#define SDHC_XFERTYP_CCCEN ((uint32_t)0x00080000) // Command CRC Check Enable
#define SDHC_XFERTYP_RSPTYP (uint32_t)(((n) & 0x3)<<16) // Response Type Select
#define SDHC_XFERTYP_RSPTYP(n) (uint32_t)(((n) & 0x3)<<16) // Response Type Select
#define SDHC_XFERTYP_MSBSEL ((uint32_t)0x00000020) // Multi/Single Block Select
#define SDHC_XFERTYP_DTDSEL ((uint32_t)0x00000010) // Data Transfer Direction Select
#define SDHC_XFERTYP_AC12EN ((uint32_t)0x00000004) // Auto CMD12 Enable

Loading…
Cancel
Save