Subdirectory provided by Embedded Artists
Dependencies: DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos mbed-src
Dependents: lpc4088_displaymodule_hello_world_Sept_2018
Fork of DMSupport by
Diff: FileSystems/MCIFileSystem.h
- Revision:
- 38:420cdc281467
- Parent:
- 31:d47cffcb0a3e
diff -r 07659b5d90ce -r 420cdc281467 FileSystems/MCIFileSystem.h --- a/FileSystems/MCIFileSystem.h Mon Mar 23 13:45:16 2015 +0000 +++ b/FileSystems/MCIFileSystem.h Wed Apr 15 09:41:56 2015 +0200 @@ -19,6 +19,7 @@ #include "mbed.h" #include "FATFileSystem.h" +#include "GPDMA.h" /** Access the filesystem on an SD Card using MCI * @@ -185,7 +186,7 @@ void mci_ReadFIFO(uint32_t *pDst, bool bFirstHalf) const; void mci_WriteFIFO(uint32_t *pSrc, bool bFirstHalf) const; - void mci_SetupEventWakeup(uint8_t dmaChannel); + void mci_SetupEventWakeup(); uint32_t mci_WaitForEvent() const; ReturnCode _readBlocks(uint32_t card_type, uint32_t startBlock, uint32_t blockNum) const; @@ -197,7 +198,7 @@ DigitalIn* _cardDetect; - uint8_t _eventDmaChannel; /*!< DMA Channel used for transfer data */ + GPDMA::DMAChannels _eventDmaChannel; /*!< DMA Channel used for transfer data */ volatile bool _eventReceived; volatile bool _eventSuccess; };