msdd.h
Go to the documentation of this file.00001
00017 #ifndef __MSDD_H
00018 #define __MSDD_H
00019
00020
00025
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033
00034 #define MEDIA_BUFSIZ 4096
00036
00039 typedef struct
00040 {
00041 bool valid;
00042 uint8_t direction;
00043 uint8_t *pData;
00044 uint32_t lba;
00045 uint32_t xferLen;
00046 uint32_t maxBurst;
00047 enum { XFER_MEMORYMAPPED = 0, XFER_INDIRECT } xferType;
00049 } MSDD_CmdStatus_TypeDef;
00050
00051
00052
00053 bool MSDD_Handler(void);
00054 void MSDD_Init(int activityLedPort, uint32_t activityLedPin);
00055
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059
00063 #endif