| 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
Functions | Variables
fs_mem.c File Reference
`#include <string.h>`
`#include "diskio.h"`
`#include "fs_mem.h"`

Go to the source code of this file.

## Functions
DSTATUS | disk_initialize (BYTE drv)
DRESULT | disk_read (BYTE drv, BYTE *buff, DWORD sector, BYTE count)
DSTATUS | disk_status (BYTE drv)
DRESULT | disk_write (BYTE drv, const BYTE *buff, DWORD sector, BYTE count)
DRESULT | disk_ioctl (BYTE drv, BYTE ctrl, void *buff)

## Variables
static volatile DSTATUS | Stat = STA_NOINIT
static uint8_t * | buff_ptr
static uint32_t | buff_sz

## Function Documentation

DSTATUS disk_initialize | ( | BYTE | drv | ) |

Definition at line 49 of file fs_mem.c.

DRESULT disk_ioctl | ( | BYTE | drv,
|  | BYTE | ctrl,
|  | void * | buff
| ) |  |

Definition at line 118 of file fs_mem.c.

DRESULT disk_read | ( | BYTE | drv,
|  | BYTE * | buff,
|  | DWORD | sector,
|  | BYTE | count
| ) |  |

Definition at line 78 of file fs_mem.c.

DSTATUS disk_status | ( | BYTE | drv | ) |

Definition at line 93 of file fs_mem.c.

DRESULT disk_write | ( | BYTE | drv,
|  | const BYTE * | buff,
|  | DWORD | sector,
|  | BYTE | count
| ) |  |

Definition at line 103 of file fs_mem.c.

## Variable Documentation

uint8_t* buff_ptr
| static

Definition at line 41 of file fs_mem.c.

uint32_t buff_sz
| static

Definition at line 42 of file fs_mem.c.

volatile DSTATUS Stat = STA_NOINIT
| static

Definition at line 40 of file fs_mem.c.