modules/msd/STM32F10x/msd_memory.h File Reference

#include "stm32f10x.h"
#include "msd.h"

Defines

#define TXFR_IDLE   0
#define TXFR_ONGOING   1

Functions

void MSD_Write_Memory (uint8_t lun, uint32_t Memory_Offset, uint32_t Transfer_Length)
void MSD_Read_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

Define Documentation

#define TXFR_IDLE   0

#define TXFR_ONGOING   1


Function Documentation

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 
)


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]

u16 msd_memory_rd_led_ctr

Reduced version of SD Card Block device most functions already handled by MIOS32, therefore only block read/write functions have to be supported

u16 msd_memory_wr_led_ctr


Generated on Tue May 1 19:42:14 2012 for MIOS32 by  doxygen 1.4.7