# modules/msd/LPC17xx/blockdev.h File Reference

## Functions
int | BlockDevInit (void)
int | BlockDevWrite (u32 dwAddress, u8 *pbBuf)
int | BlockDevRead (u32 dwAddress, u8 *pbBuf)
int | BlockDevGetSize (u32 *pdwDriveSize)
int | BlockDevGetStatus (void)
## Variables
u16 | msd_memory_rd_led_ctr
u16 | msd_memory_wr_led_ctr

## Function Documentation

int BlockDevGetSize | ( | u32 * | pdwDriveSize | ) |

Here is the call graph for this function:

int BlockDevGetStatus | ( | void |  | ) |

int BlockDevInit | ( | void |  | ) |

int BlockDevRead | ( | u32 | dwAddress,
|  | u8 * | pbBuf |
| ) |  |  |

Here is the call graph for this function:

int BlockDevWrite | ( | u32 | dwAddress,
|  | u8 * | pbBuf |
| ) |  |  |

Here is the call graph for this function:

## Variable Documentation

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