SD FileSystem to comunicate with a KL25Z
Fork of SDFileSystem by
Diff: SDFileSystem.h
- Revision:
- 7:61db99e52c0d
- Parent:
- 6:55a26a56046a
- Child:
- 9:1906befe7f30
diff -r 55a26a56046a -r 61db99e52c0d SDFileSystem.h --- a/SDFileSystem.h Fri Aug 01 14:45:21 2014 +0000 +++ b/SDFileSystem.h Fri Aug 01 15:00:36 2014 +0000 @@ -106,13 +106,13 @@ * 'true' if CRC is enabled for commands and data, * 'false' if CRC is disabled for commands and data. */ - bool crc_enabled(); + bool crc(); /** Set whether or not CRC is enabled for commands and data * * @param enabled Whether or not to enable CRC for commands and data. */ - void crc_enabled(bool enabled); + void crc(bool enabled); /** Get whether or not 16-bit frames are enabled for data read/write operations * @@ -153,13 +153,13 @@ }; //Member variables - SPI m_SPI; - DigitalOut m_CS; - InterruptIn m_CD; + SPI m_Spi; + DigitalOut m_Cs; + InterruptIn m_Cd; const int m_CD_ASSERT; const int m_FREQ; SDFileSystem::CardType m_CardType; - bool m_CrcEnabled; + bool m_Crc; bool m_LargeFrames; int m_Status;