Sd_raw


Files

file  sd_mmc_config.h

Defines

#define SD_RAW_WRITE_SUPPORT   1
#define SD_RAW_WRITE_BUFFERING   1
#define SD_RAW_SAVE_RAM   1
#define SD_RAW_SAVE_RAM   0
#define configure_pin_available()
#define configure_pin_locked()
#define get_pin_available()   0
#define get_pin_locked()   0

Functions

uint8_t sd_available ()
uint8_t sd_locked ()

Define Documentation

 
#define configure_pin_available (  ) 

Definition at line 91 of file sd_mmc_config.h.

Referenced by sd_init().

 
#define configure_pin_locked (  ) 

Definition at line 92 of file sd_mmc_config.h.

Referenced by sd_init().

 
#define get_pin_available (  )     0

Definition at line 96 of file sd_mmc_config.h.

Referenced by sd_available().

 
#define get_pin_locked (  )     0

Definition at line 97 of file sd_mmc_config.h.

Referenced by sd_locked(), and sd_write().

#define SD_RAW_SAVE_RAM   0

Controls MMC/SD access buffering.

Set to 1 to save static RAM, but be aware that you will lose performance.

Note:
When SD_RAW_WRITE_SUPPORT is 1, SD_RAW_SAVE_RAM will be reset to 0.

Definition at line 106 of file sd_mmc_config.h.

#define SD_RAW_SAVE_RAM   1

Controls MMC/SD access buffering.

Set to 1 to save static RAM, but be aware that you will lose performance.

Note:
When SD_RAW_WRITE_SUPPORT is 1, SD_RAW_SAVE_RAM will be reset to 0.

Definition at line 106 of file sd_mmc_config.h.

#define SD_RAW_WRITE_BUFFERING   1

Controls MMC/SD write buffering.

Set to 1 to buffer write accesses, set to 0 to disable it.

Note:
This option has no effect when SD_RAW_WRITE_SUPPORT is 0.

Definition at line 40 of file sd_mmc_config.h.

#define SD_RAW_WRITE_SUPPORT   1

Controls MMC/SD write support.

Set to 1 to enable MMC/SD write support, set to 0 to disable it.

Definition at line 30 of file sd_mmc_config.h.


Function Documentation

uint8_t sd_available (  ) 

Checks wether a memory card is located in the slot.

Returns:
1 if the card is available, 0 if it is not.

Definition at line 297 of file sd_mmc.c.

References get_pin_available.

Referenced by sd_get_info(), and sd_init().

uint8_t sd_locked (  ) 

Checks wether the memory card is locked for write access.

Returns:
1 if the card is locked, 0 if it is not.

Definition at line 308 of file sd_mmc.c.

References get_pin_locked.


Generated on Sat Sep 6 10:21:07 2008 for mptry by  doxygen 1.5.5