SAM4S-EK_FreeRTOS+FAT-SL  1.0
An example project to test the functionality of FreeRTOS+FAT-SL using SD card as data storage medium
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
api_mdriver.h File Reference
#include "ver_mdriver.h"

Go to the source code of this file.

Classes

struct  F_PHY
 
struct  F_DRIVER
 

Macros

#define F_MEDIADESC_REMOVABLE   0xf0
 
#define F_MEDIADESC_FIX   0xf8
 
#define F_ST_MISSING   0x00000001
 
#define F_ST_CHANGED   0x00000002
 
#define F_ST_WRPROTECT   0x00000004
 

Typedefs

typedef struct F_DRIVER F_DRIVER
 
typedef int(* F_WRITESECTOR )(F_DRIVER *driver, void *data, unsigned long sector)
 
typedef int(* F_READSECTOR )(F_DRIVER *driver, void *data, unsigned long sector)
 
typedef int(* F_GETPHY )(F_DRIVER *driver, F_PHY *phy)
 
typedef long(* F_GETSTATUS )(F_DRIVER *driver)
 
typedef void(* F_RELEASE )(F_DRIVER *driver)
 
typedef struct F_DRIVER _F_DRIVER
 
typedef F_DRIVER *(* F_DRIVERINIT )(unsigned long driver_param)
 

Functions

F_DRIVERsd_init (unsigned long driver_param)
 

Macro Definition Documentation

#define F_MEDIADESC_FIX   0xf8

Definition at line 67 of file api_mdriver.h.

#define F_MEDIADESC_REMOVABLE   0xf0

Definition at line 66 of file api_mdriver.h.

#define F_ST_CHANGED   0x00000002

Definition at line 71 of file api_mdriver.h.

#define F_ST_MISSING   0x00000001

Definition at line 70 of file api_mdriver.h.

#define F_ST_WRPROTECT   0x00000004

Definition at line 72 of file api_mdriver.h.

Typedef Documentation

typedef struct F_DRIVER _F_DRIVER
typedef struct F_DRIVER F_DRIVER

Definition at line 75 of file api_mdriver.h.

typedef F_DRIVER*( * F_DRIVERINIT)(unsigned long driver_param)

Definition at line 96 of file api_mdriver.h.

typedef int( * F_GETPHY)(F_DRIVER *driver, F_PHY *phy)

Definition at line 79 of file api_mdriver.h.

typedef long( * F_GETSTATUS)(F_DRIVER *driver)

Definition at line 80 of file api_mdriver.h.

typedef int( * F_READSECTOR)(F_DRIVER *driver, void *data, unsigned long sector)

Definition at line 78 of file api_mdriver.h.

typedef void( * F_RELEASE)(F_DRIVER *driver)

Definition at line 81 of file api_mdriver.h.

typedef int( * F_WRITESECTOR)(F_DRIVER *driver, void *data, unsigned long sector)

Definition at line 77 of file api_mdriver.h.

Function Documentation

F_DRIVER* sd_init ( unsigned long  driver_param)

Definition at line 613 of file SDdrv_f.c.