63 #include LUN_0_INCLUDE
66 #include LUN_1_INCLUDE
69 #include LUN_2_INCLUDE
72 #include LUN_3_INCLUDE
75 #include LUN_4_INCLUDE
78 #include LUN_5_INCLUDE
81 #include LUN_6_INCLUDE
84 #include LUN_7_INCLUDE
86 #if (LUN_USB == ENABLE)
87 #include LUN_USB_INCLUDE
94 #ifndef GLOBAL_WR_PROTECT
95 # error GLOBAL_WR_PROTECT must be defined with ENABLED or DISABLED in conf_access.h
113 U8 FLASH* mem_name( U8 lun );
133 #if (ACCESS_STREAM == ENABLED)
135 #define ID_STREAM_ERR 0xFF
140 #define TYPE_STREAM_AUDIO DFC_ID_AUDIOPROC1
141 #define TYPE_STREAM_AUDIO2 DFC_ID_AUDIOPROC2
142 #define TYPE_STREAM_SIO DFC_ID_SIO
143 #define TYPE_STREAM_SPI DFC_ID_SPI
144 #define TYPE_STREAM_DEVNULL DFC_ID_NULL_DEV
146 U8
stream_mem_to_mem ( U8 src_lun , U32 src_addr , U8 dest_lun , U32 dest_addr , U16 nb_sector );
147 U8 stream_read_10_start ( U8 TypeStream , U8 lun , U32 addr , U16 nb_sector );
148 U8 stream_write_10_start ( U8 TypeStream , U8 lun , U32 addr , U16 nb_sector );
149 U8 stream_to_stream_start ( U8 TypeStream_src , U8 TypeStream_dest , U16 nb_sector );
153 #endif // (ACCESS_STREAM == ENABLED)
156 #endif // _MEM_CTRL_H_