#include <stdio.h>
#include <avr/io.h>
#include <cio.h>
#include "ff.h"
#include "FatFSDev.h"
#include "fcntl.h"
#include "Xmmc.h"
Go to the source code of this file.
Functions | |
static int | DOpen (IOCB *pIOCB) __attribute__((section(".lowtext"))) |
static int | DClose (IOCB *pIOCB) __attribute__((section(".lowtext"))) |
static int | DGetC (IOCB *pIOCB) __attribute__((section(".lowtext"))) |
static int | DRead (IOCB *pIOCB, char *b, int n) __attribute__((section(".lowtext"))) |
static int | DPutC (IOCB *pIOCB, int c) __attribute__((section(".lowtext"))) |
static int | DWrite (IOCB *pIOCB, char *b, int n) __attribute__((section(".lowtext"))) |
static int | DStatus (IOCB *pIOCB, int m) __attribute__((section(".lowtext"))) |
static int | DXio (IOCB *pIOCB, int cmd, void *pP) __attribute__((section(".lowtext"))) |
static int | DInit (void) |
static int | Dmode (int mode) |
void | FatFSInit (void) |
Variables | |
static FATFS * | FSYS |
static int DClose | ( | IOCB * | pIOCB | ) | [static] |
static int DGetC | ( | IOCB * | pIOCB | ) | [static] |
static int DInit | ( | void | ) | [static] |
static int Dmode | ( | int | mode | ) | [static] |
Definition at line 42 of file FatFSDev.c.
References FA_READ, FA_WRITE, FCNTL_RDONLY, and FCNTL_WRONLY.
Referenced by DOpen().
static int DOpen | ( | IOCB * | pIOCB | ) | [static] |
Definition at line 53 of file FatFSDev.c.
References _iocb::dev_name, Dmode(), f_open(), malloc, _iocb::mode, FF_DCB::mode, _iocb::p, and FF_DCB::pF.
Referenced by DInit().
static int DPutC | ( | IOCB * | pIOCB, | |
int | c | |||
) | [static] |
static int DRead | ( | IOCB * | pIOCB, | |
char * | b, | |||
int | n | |||
) | [static] |
static int DStatus | ( | IOCB * | pIOCB, | |
int | m | |||
) | [static] |
static int DWrite | ( | IOCB * | pIOCB, | |
char * | b, | |||
int | n | |||
) | [static] |
static int DXio | ( | IOCB * | pIOCB, | |
int | cmd, | |||
void * | pP | |||
) | [static] |
void FatFSInit | ( | void | ) |