modules/msd/STM32F10x/msd.c File Reference

#include <mios32.h>
#include <usb_lib.h>
#include <string.h>
#include "msd.h"
#include "msd_desc.h"
#include "msd_bot.h"
#include "msd_memory.h"

Defines

#define GET_MAX_LUN   0xFE
#define MASS_STORAGE_RESET   0xFF
#define LUN_DATA_LENGTH   1
#define MSD_IMR_MSK   (CNTR_CTRM | CNTR_RESETM)

Functions

s32 MSD_Init (u32 mode)
s32 MSD_Periodic_mS (void)
s32 MSD_CheckAvailable (void)
s32 MSD_LUN_AvailableSet (u8 lun, u8 available)
s32 MSD_LUN_AvailableGet (u8 lun)
s32 MSD_RdLEDGet (u16 lag_ms)
s32 MSD_WrLEDGet (u16 lag_ms)

Generated on 22 Jan 2016 for MIOS32 by  doxygen 1.6.1