modules/msd/STM32F10x/msd_memory.c File Reference

#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

Function Documentation

uint16_t MSD_MAL_GetStatus ( uint8_t  lun  ) 

Here is the call graph for this function:

void MSD_Read_Memory ( uint8_t  lun,
uint32_t  Memory_Offset,
uint32_t  Transfer_Length 
)

Here is the call graph for this function:

void MSD_Write_Memory ( uint8_t  lun,
uint32_t  Memory_Offset,
uint32_t  Transfer_Length 
)

Here is the call graph for this function:


Variable Documentation

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


Generated on 22 Jan 2016 for MIOS32 by  doxygen 1.6.1