ctrl_access.h File Reference

This file contains the interface :

More...

#include "storage/conf_access.h"
#include "storage/ctrl_status.h"
#include "usb_drv.h"
#include "conf_usb.h"

Go to the source code of this file.

Functions

U8 get_nb_lun ()
 This fonction return the number of logical unit.
U8 get_cur_lun ()
 This fonction return the current logical unit.
Ctrl_status mem_test_unit_ready (U8 lun)
 This fonction test the state of memory, and start the initialisation of the memory.
Ctrl_status mem_read_capacity (U8 lun, U32 _MEM_TYPE_SLOW_ *u32_nb_sector)
 This fonction return the capacity of the memory.
Bool mem_wr_protect (U8 lun)
 This fonction return is the write protected mode.
Bool mem_removal (U8 lun)
 This fonction inform about the memory type.
Ctrl_status memory_2_usb (U8 lun, U32 addr, U16 nb_sector)
 This fonction returns a pointer to the LUN name.
Ctrl_status usb_2_memory (U8 lun, U32 addr, U16 nb_sector)
 This fonction trabsfer a data from usb to memory.

Detailed Description

This file contains the interface :

*******************************************************

This interface may be controled by a "Access Memory Control" for :

Definition in file ctrl_access.h.


Generated on Mon Apr 11 14:23:48 2011 for Contiki 2.5 by  doxygen 1.6.1