# modules/msd/STM32F10x/msd.h File Reference

## Defines
#define | MSD_BULK_MAX_PACKET_SIZE 0x40
#define | MSD_NUM_LUN 1
#define | MSD_EP_NUM 3
#define | MSD_BTABLE_ADDRESS (0x00)
#define | MSD_ENDP0_RXADDR (0x18)
#define | MSD_ENDP0_TXADDR (0x58)
#define | MSD_ENDP1_TXADDR (0x98)
#define | MSD_ENDP2_RXADDR (0xD8)
## 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)

## Define Documentation

#define MSD_BTABLE_ADDRESS (0x00)

#define MSD_BULK_MAX_PACKET_SIZE 0x40

#define MSD_ENDP0_RXADDR (0x18)

#define MSD_ENDP0_TXADDR (0x58)

#define MSD_ENDP1_TXADDR (0x98)

#define MSD_ENDP2_RXADDR (0xD8)

#define MSD_EP_NUM 3

#define MSD_NUM_LUN 1