- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

# conf_access.h File Reference

Copyright (c) 2004. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | LUN_0 DISABLE
#define | LUN_1 DISABLE
#define | LUN_2 DISABLE
#define | LUN_3 ENABLE
#define | LUN_4 DISABLE
#define | LUN_5 DISABLE
#define | LUN_6 DISABLE
#define | LUN_7 DISABLE
#define | LUN_USB DISABLE
#define | LUN_0_INCLUDE "lib_mem\virtual_mem\virtual_mem.h"
#define | Lun_0_test_unit_ready() virtual_test_unit_ready()
#define | Lun_0_read_capacity(nb_sect) virtual_read_capacity(nb_sect)
#define | Lun_0_wr_protect() virtual_wr_protect()
#define | Lun_0_removal() virtual_removal()
#define | Lun_0_read_10(ad, sec) virtual_read_10(ad, sec)
#define | Lun_0_usb_read() virtual_usb_read()
#define | Lun_0_write_10(ad, sec) virtual_write_10(ad, sec)
#define | Lun_0_usb_write() virtual_usb_write()
#define | Lun_0_ram_2_mem(addr, ram) virtual_ram_2_mem(addr, ram)
#define | Lun_0_ram_2_mem_write() virtual_ram_2_mem_write()
#define | Lun_0_mem_2_ram(addr, ram) virtual_mem_2_ram(addr, ram)
#define | Lun_0_mem_2_ram_read() virtual_mem_2_ram_read()
#define | LUN_0_NAME "VIRTUAL_MEM_ON_CHIP"
#define | NF_2K_MEM ENABLE
#define | LUN_1_INCLUDE "lib_mem\nf_1x_2kb\nf_mem.h"
#define | Lun_1_test_unit_ready() nf_test_unit_ready()
#define | Lun_1_read_capacity(nb_sect) nf_read_capacity(nb_sect)
#define | Lun_1_wr_protect() nf_wr_protect()
#define | Lun_1_removal() nf_removal()
#define | Lun_1_read_10(ad, sec) nf_read_10(ad, sec)
#define | Lun_1_usb_read() nf_usb_read()
#define | Lun_1_write_10(ad, sec) nf_write_10(ad, sec)
#define | Lun_1_usb_write() nf_usb_write()
#define | Lun_1_ram_2_mem(addr, ram) TODO
#define | Lun_1_ram_2_mem_write() TODO
#define | Lun_1_mem_2_ram(addr, ram) TODO
#define | Lun_1_mem_2_ram_read() TODO
#define | NF_512_MEM ENABLE
#define | LUN_2_INCLUDE "lib_mem\nf_1x_512\nf_mem.h"
#define | Lun_2_test_unit_ready() nf_test_unit_ready()
#define | Lun_2_read_capacity(nb_sect) nf_read_capacity(nb_sect)
#define | Lun_2_wr_protect() nf_wr_protect()
#define | Lun_2_removal() nf_removal()
#define | Lun_2_read_10(ad, sec) nf_read_10(ad, sec)
#define | Lun_2_usb_read() nf_usb_read()
#define | Lun_2_write_10(ad, sec) nf_write_10(ad, sec)
#define | Lun_2_usb_write() nf_usb_write()
#define | Lun_2_ram_2_mem(addr, ram) TODO
#define | Lun_2_ram_2_mem_write() TODO
#define | Lun_2_mem_2_ram(addr, ram) TODO
#define | Lun_2_mem_2_ram_read() TODO
#define | DF_MEM ENABLE
#define | LUN_ID_DF LUN_ID_3
#define | LUN_3_INCLUDE "lib_mem\df\df_mem.h"
#define | Lun_3_test_unit_ready() df_test_unit_ready()
#define | Lun_3_read_capacity(nb_sect) df_read_capacity(nb_sect)
#define | Lun_3_wr_protect() df_wr_protect()
#define | Lun_3_removal() df_removal()
#define | Lun_3_read_10(ad, sec) df_read_10(ad, sec)
#define | Lun_3_usb_read() df_usb_read()
#define | Lun_3_write_10(ad, sec) df_write_10(ad, sec)
#define | Lun_3_usb_write() df_usb_write()
#define | Lun_3_ram_2_mem(addr, ram) df_ram_2_df(addr, ram)
#define | Lun_3_ram_2_mem_write() df_ram_2_df_write()
#define | Lun_3_mem_2_ram(addr, ram) df_df_2_ram(addr, ram)
#define | Lun_3_mem_2_ram_read() df_df_2_ram_read()
#define | LUN_3_NAME "\"On board data flash\""
#define | MEM_USB ENABLE
#define | LUN_USB_INCLUDE "lib_mem\host_mem\host_mem.h"
#define | Lun_usb_test_unit_ready(lun) host_test_unit_ready(lun)
#define | Lun_usb_read_capacity(lun, nb_sect) host_read_capacity(lun,nb_sect)
#define | Lun_usb_wr_protect(lun) host_wr_protect(lun)
#define | Lun_usb_removal() host_removal()
#define | Lun_usb_ram_2_mem(addr, ram) host_write_10_ram(addr, ram)
#define | Lun_usb_mem_2_ram(addr, ram) host_read_10_ram(addr, ram)
#define | LUN_USB_NAME "\"USB Remote memory\""
#define | ACCESS_USB ENABLED
#define | ACCESS_STREAM DISABLED
#define | ACCESS_STREAM_RECORD DISABLED
#define | ACCESS_MEM_TO_RAM DISABLED
#define | ACCESS_MEM_TO_MEM DISABLED
#define | GLOBAL_WR_PROTECT DISABLED

## Detailed Description

Copyright (c) 2004.

Please read file license.txt for copyright notice.

This file contains the possible external configuration of the control access This file will be given to any external customer

Version:
  1.2 (c5131-mass-storage-virtual-1_0_4)

Todo:

Bug:

Definition in file conf_access.h.

## Define Documentation

#define LUN_0 DISABLE

Definition at line 20 of file conf_access.h.

#define LUN_1 DISABLE

Definition at line 21 of file conf_access.h.

#define LUN_2 DISABLE

Definition at line 22 of file conf_access.h.

#define LUN_3 ENABLE

Definition at line 23 of file conf_access.h.

#define LUN_4 DISABLE

Definition at line 24 of file conf_access.h.

#define LUN_5 DISABLE

Definition at line 25 of file conf_access.h.

#define LUN_6 DISABLE

Definition at line 26 of file conf_access.h.

#define LUN_7 DISABLE

Definition at line 27 of file conf_access.h.

#define LUN_USB DISABLE

Definition at line 28 of file conf_access.h.

#define LUN_0_INCLUDE "lib_mem\virtual_mem\virtual_mem.h"

Definition at line 31 of file conf_access.h.

#define Lun_0_test_unit_ready | ( |  | ) | virtual_test_unit_ready()

Definition at line 32 of file conf_access.h.

Referenced by mem_test_unit_ready().

#define Lun_0_read_capacity | ( | nb_sect |  | ) | virtual_read_capacity(nb_sect)

Definition at line 33 of file conf_access.h.

Referenced by mem_read_capacity().

#define Lun_0_wr_protect | ( |  | ) | virtual_wr_protect()

Definition at line 34 of file conf_access.h.

Referenced by mem_wr_protect().

#define Lun_0_removal | ( |  | ) | virtual_removal()

Definition at line 35 of file conf_access.h.

Referenced by mem_removal().

#define Lun_0_read_10 | ( | ad,
|  | sec |  | ) | virtual_read_10(ad, sec)

Definition at line 36 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_0_usb_read | ( |  | ) | virtual_usb_read()

Definition at line 37 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_0_write_10 | ( | ad,
|  | sec |  | ) | virtual_write_10(ad, sec)

Definition at line 38 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_0_usb_write | ( |  | ) | virtual_usb_write()

Definition at line 39 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_0_ram_2_mem | ( | addr,
|  | ram |  | ) | virtual_ram_2_mem(addr, ram)

Definition at line 40 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_0_ram_2_mem_write | ( |  | ) | virtual_ram_2_mem_write()

Definition at line 41 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_0_mem_2_ram | ( | addr,
|  | ram |  | ) | virtual_mem_2_ram(addr, ram)

Definition at line 42 of file conf_access.h.

Referenced by memory_2_ram().

#define Lun_0_mem_2_ram_read | ( |  | ) | virtual_mem_2_ram_read()

Definition at line 43 of file conf_access.h.

Referenced by memory_2_ram().

#define LUN_0_NAME "VIRTUAL_MEM_ON_CHIP"

Definition at line 44 of file conf_access.h.

#define NF_2K_MEM ENABLE

Definition at line 48 of file conf_access.h.

#define LUN_1_INCLUDE "lib_mem\nf_1x_2kb\nf_mem.h"

Definition at line 52 of file conf_access.h.

#define Lun_1_test_unit_ready | ( |  | ) | nf_test_unit_ready()

Definition at line 53 of file conf_access.h.

Referenced by mem_test_unit_ready().

#define Lun_1_read_capacity | ( | nb_sect |  | ) | nf_read_capacity(nb_sect)

Definition at line 54 of file conf_access.h.

Referenced by mem_read_capacity().

#define Lun_1_wr_protect | ( |  | ) | nf_wr_protect()

Definition at line 55 of file conf_access.h.

Referenced by mem_wr_protect().

#define Lun_1_removal | ( |  | ) | nf_removal()

Definition at line 56 of file conf_access.h.

Referenced by mem_removal().

#define Lun_1_read_10 | ( | ad,
|  | sec |  | ) | nf_read_10(ad, sec)

Definition at line 57 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_1_usb_read | ( |  | ) | nf_usb_read()

Definition at line 58 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_1_write_10 | ( | ad,
|  | sec |  | ) | nf_write_10(ad, sec)

Definition at line 59 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_1_usb_write | ( |  | ) | nf_usb_write()

Definition at line 60 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_1_ram_2_mem | ( | addr,
|  | ram |  | ) | TODO

Definition at line 61 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_1_ram_2_mem_write | ( |  | ) | TODO

Definition at line 62 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_1_mem_2_ram | ( | addr,
|  | ram |  | ) | TODO

Definition at line 63 of file conf_access.h.

Referenced by memory_2_ram().

#define Lun_1_mem_2_ram_read | ( |  | ) | TODO

Definition at line 64 of file conf_access.h.

Referenced by memory_2_ram().

#define NF_512_MEM ENABLE

Definition at line 68 of file conf_access.h.

#define LUN_2_INCLUDE "lib_mem\nf_1x_512\nf_mem.h"

Definition at line 72 of file conf_access.h.

#define Lun_2_test_unit_ready | ( |  | ) | nf_test_unit_ready()

Definition at line 73 of file conf_access.h.

Referenced by mem_test_unit_ready().

#define Lun_2_read_capacity | ( | nb_sect |  | ) | nf_read_capacity(nb_sect)

Definition at line 74 of file conf_access.h.

Referenced by mem_read_capacity().

#define Lun_2_wr_protect | ( |  | ) | nf_wr_protect()

Definition at line 75 of file conf_access.h.

Referenced by mem_wr_protect().

#define Lun_2_removal | ( |  | ) | nf_removal()

Definition at line 76 of file conf_access.h.

Referenced by mem_removal().

#define Lun_2_read_10 | ( | ad,
|  | sec |  | ) | nf_read_10(ad, sec)

Definition at line 77 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_2_usb_read | ( |  | ) | nf_usb_read()

Definition at line 78 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_2_write_10 | ( | ad,
|  | sec |  | ) | nf_write_10(ad, sec)

Definition at line 79 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_2_usb_write | ( |  | ) | nf_usb_write()

Definition at line 80 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_2_ram_2_mem | ( | addr,
|  | ram |  | ) | TODO

Definition at line 81 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_2_ram_2_mem_write | ( |  | ) | TODO

Definition at line 82 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_2_mem_2_ram | ( | addr,
|  | ram |  | ) | TODO

Definition at line 83 of file conf_access.h.

Referenced by memory_2_ram().

#define Lun_2_mem_2_ram_read | ( |  | ) | TODO

Definition at line 84 of file conf_access.h.

Referenced by memory_2_ram().

#define DF_MEM ENABLE

Definition at line 88 of file conf_access.h.

#define LUN_ID_DF LUN_ID_3

Definition at line 92 of file conf_access.h.

#define LUN_3_INCLUDE "lib_mem\df\df_mem.h"

Definition at line 93 of file conf_access.h.

#define Lun_3_test_unit_ready | ( |  | ) | df_test_unit_ready()

Definition at line 94 of file conf_access.h.

Referenced by mem_test_unit_ready().

#define Lun_3_read_capacity | ( | nb_sect |  | ) | df_read_capacity(nb_sect)

Definition at line 95 of file conf_access.h.

Referenced by mem_read_capacity().

#define Lun_3_wr_protect | ( |  | ) | df_wr_protect()

Definition at line 96 of file conf_access.h.

Referenced by mem_wr_protect().

#define Lun_3_removal | ( |  | ) | df_removal()

Definition at line 97 of file conf_access.h.

Referenced by mem_removal().

#define Lun_3_read_10 | ( | ad,
|  | sec |  | ) | df_read_10(ad, sec)

Definition at line 98 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_3_usb_read | ( |  | ) | df_usb_read()

Definition at line 99 of file conf_access.h.

Referenced by memory_2_usb().

#define Lun_3_write_10 | ( | ad,
|  | sec |  | ) | df_write_10(ad, sec)

Definition at line 100 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_3_usb_write | ( |  | ) | df_usb_write()

Definition at line 101 of file conf_access.h.

Referenced by usb_2_memory().

#define Lun_3_ram_2_mem | ( | addr,
|  | ram |  | ) | df_ram_2_df(addr, ram)

Definition at line 102 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_3_ram_2_mem_write | ( |  | ) | df_ram_2_df_write()

Definition at line 103 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_3_mem_2_ram | ( | addr,
|  | ram |  | ) | df_df_2_ram(addr, ram)

Definition at line 104 of file conf_access.h.

Referenced by memory_2_ram().

#define Lun_3_mem_2_ram_read | ( |  | ) | df_df_2_ram_read()

Definition at line 105 of file conf_access.h.

Referenced by memory_2_ram().

#define LUN_3_NAME "\"On board data flash\""

Definition at line 106 of file conf_access.h.

#define MEM_USB ENABLE

Definition at line 110 of file conf_access.h.

#define LUN_USB_INCLUDE "lib_mem\host_mem\host_mem.h"

Definition at line 114 of file conf_access.h.

#define Lun_usb_test_unit_ready | ( | lun |  | ) | host_test_unit_ready(lun)

Definition at line 115 of file conf_access.h.

Referenced by mem_test_unit_ready().

#define Lun_usb_read_capacity | ( | lun,
|  | nb_sect |  | ) | host_read_capacity(lun,nb_sect)

Definition at line 116 of file conf_access.h.

Referenced by mem_read_capacity().

#define Lun_usb_wr_protect | ( | lun |  | ) | host_wr_protect(lun)

Definition at line 117 of file conf_access.h.

Referenced by mem_wr_protect().

#define Lun_usb_removal | ( |  | ) | host_removal()

Definition at line 118 of file conf_access.h.

Referenced by mem_removal().

#define Lun_usb_ram_2_mem | ( | addr,
|  | ram |  | ) | host_write_10_ram(addr, ram)

Definition at line 119 of file conf_access.h.

Referenced by ram_2_memory().

#define Lun_usb_mem_2_ram | ( | addr,
|  | ram |  | ) | host_read_10_ram(addr, ram)

Definition at line 120 of file conf_access.h.

Referenced by memory_2_ram().

#define LUN_USB_NAME "\"USB Remote memory\""

Definition at line 121 of file conf_access.h.

#define ACCESS_USB ENABLED

Definition at line 127 of file conf_access.h.

#define ACCESS_STREAM DISABLED

Definition at line 128 of file conf_access.h.

#define ACCESS_STREAM_RECORD DISABLED

Definition at line 129 of file conf_access.h.

#define ACCESS_MEM_TO_RAM DISABLED

Definition at line 130 of file conf_access.h.

#define ACCESS_MEM_TO_MEM DISABLED

Definition at line 131 of file conf_access.h.

#define GLOBAL_WR_PROTECT DISABLED

Definition at line 136 of file conf_access.h.