#include <mios32.h>
#include <usb_lib.h>
#include "msd.h"
#include "msd_memory.h"
#include "msd_scsi.h"
#include "msd_bot.h"
Functions | |
void | MSD_Read_Memory (uint8_t lun, uint32_t Memory_Offset, uint32_t Transfer_Length) |
void | MSD_Write_Memory (uint8_t lun, uint32_t Memory_Offset, uint32_t Transfer_Length) |
uint16_t | MSD_MAL_GetStatus (uint8_t lun) |
Variables | |
uint32_t | MSD_Mass_Memory_Size [MSD_NUM_LUN] |
uint32_t | MSD_Mass_Block_Size [MSD_NUM_LUN] |
uint32_t | MSD_Mass_Block_Count [MSD_NUM_LUN] |
u16 | msd_memory_rd_led_ctr |
u16 | msd_memory_wr_led_ctr |
uint16_t MSD_MAL_GetStatus | ( | uint8_t | lun | ) |
void MSD_Read_Memory | ( | uint8_t | lun, | |
uint32_t | Memory_Offset, | |||
uint32_t | Transfer_Length | |||
) |
void MSD_Write_Memory | ( | uint8_t | lun, | |
uint32_t | Memory_Offset, | |||
uint32_t | Transfer_Length | |||
) |
uint32_t MSD_Mass_Block_Count[MSD_NUM_LUN] |
uint32_t MSD_Mass_Block_Size[MSD_NUM_LUN] |
uint32_t MSD_Mass_Memory_Size[MSD_NUM_LUN] |
Reduced version of SD Card Block device most functions already handled by MIOS32, therefore only block read/write functions have to be supported