# modules/msd/STM32F10x/msd_bot.c File Reference

`#include <mios32.h>`
`#include <usb_lib.h>`
`#include "msd.h"`
`#include "msd_scsi.h"`
`#include "msd_bot.h"`
`#include "msd_memory.h"`

## Functions
void | MSD_Mass_Storage_In (void)
void | MSD_Mass_Storage_Out (void)
void | MSD_CBW_Decode (void)
void | MSD_Transfer_Data_Request (uint8_t *Data_Pointer, uint16_t Data_Len)
void | MSD_Set_CSW (uint8_t CSW_Status, uint8_t Send_Permission)
void | MSD_Bot_Abort (uint8_t Direction)
## Variables
uint8_t | MSD_Bot_State
uint8_t | MSD_Bulk_Data_Buff [MSD_BULK_MAX_PACKET_SIZE]
uint16_t | MSD_Data_Len
Bulk_Only_CBW | MSD_CBW
Bulk_Only_CSW | MSD_CSW

## Function Documentation

void MSD_Bot_Abort | ( | uint8_t | Direction | ) |

void MSD_CBW_Decode | ( | void |  | ) |

Here is the call graph for this function:

void MSD_Mass_Storage_In | ( | void |  | ) |

Here is the call graph for this function:

void MSD_Mass_Storage_Out | ( | void |  | ) |

Here is the call graph for this function:

void MSD_Set_CSW | ( | uint8_t | CSW_Status,
|  | uint8_t | Send_Permission |
| ) |  |  |

void MSD_Transfer_Data_Request | ( | uint8_t * | Data_Pointer,
|  | uint16_t | Data_Len |
| ) |  |  |

## Variable Documentation

uint8_t MSD_Bot_State

uint8_t MSD_Bulk_Data_Buff[MSD_BULK_MAX_PACKET_SIZE]

Bulk_Only_CBW MSD_CBW

Bulk_Only_CSW MSD_CSW

uint16_t MSD_Data_Len