This file contains the interface :
#include "config.h"#include "storage/ctrl_access.h"#include "avr_flash.h"Go to the source code of this file.
Defines | |
| #define | LUN_0_EN 0 |
| Computed the maximum of static lun (don't add the lun of Mass Storage in mode USB Host). | |
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. | |
This file contains the interface :
*********************************************************************
This interface may be controled by a "Access Memory Control" for :
Definition in file ctrl_access.c.
1.6.1