msdd.h
Go to the documentation of this file.00001
00035 #ifndef __MSDD_H
00036 #define __MSDD_H
00037
00038
00043
00048 #ifdef __cplusplus
00049 extern "C" {
00050 #endif
00051
00052 #define MEDIA_BUFSIZ 4096
00054
00057 typedef struct
00058 {
00059 bool valid;
00060 uint8_t direction;
00061 uint8_t *pData;
00062 uint32_t lba;
00063 uint32_t xferLen;
00064 uint32_t maxBurst;
00065 enum { XFER_MEMORYMAPPED = 0, XFER_INDIRECT } xferType;
00067 } MSDD_CmdStatus_TypeDef;
00068
00069
00070
00071 bool MSDD_Handler(void);
00072 void MSDD_Init(int activityLedPort, uint32_t activityLedPin);
00073
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077
00081 #endif