| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ramdisk.h File Reference

## Detailed Description

Header file for DataRam.c.

Definition in file ramdisk.h.

`#include "usbmsdev.h"`
`#include "Descriptors.h"`
`#include "USB.h"`

Go to the source code of this file.

## Macros
#define | VIRTUAL_MEMORY_BYTES DATA_RAM_VIRTUAL_SIZE
#define | VIRTUAL_MEMORY_BLOCK_SIZE 512
#define | VIRTUAL_MEMORY_BLOCKS (VIRTUAL_MEMORY_BYTES / VIRTUAL_MEMORY_BLOCK_SIZE)

## Functions
void | DataRam_WriteBlocks (USB_ClassInfo_MS_Device_t *const MSInterfaceInfo, const uint32_t BlockAddress, uint16_t TotalBlocks)
| DataRAM write blocks function.
void | DataRam_ReadBlocks (USB_ClassInfo_MS_Device_t *const MSInterfaceInfo, const uint32_t BlockAddress, uint16_t TotalBlocks)
| DataRAM read blocks function.
void | DataRam_Initialize (void)
| DataRAM Initilisation function.
uint32_t | MassStorage_GetAddressInImage (uint32_t startblock, uint16_t requestblocks, uint16_t *availableblocks)
| DataRAM read blocks function.