conf_nf.h File Reference

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

Go to the source code of this file.

Defines

#define NF_AUTO_DETECT_2KB   FALSE
 ************ Auto-detect mode
#define NF_AUTO_DETECT_512B   FALSE
#define NF_TYPE_MT29F2G08AACWP
 ************ Static mode To enable a reference, you shall define a NF_TYPE_X (X = reference)
#define NF_N_DEVICES   1
 ************ For all mode Define the number of NandFlash connected (= number of Chip Select)
#define ERASING_ALL   DISABLE
 !!! Don't change following parameters
#define NF_CACHE_LUT_LOG_SZ   64
#define NF_CACHE_FBB_LOG_SZ   32
#define _ASSERT_   DISABLE
#define Nf_access_signal_on()
 Function linker for NF access indications.
#define Nf_access_signal_off()
#define NF_XMCR_MODULE_SHARED   DISABLED
 External Memory Interface settings This driver uses the XMCR interface to accede to the NF, but the port could be shared with another peripheral (like a LCD module).
#define NF_CLE_ALE_MANUAL   ENABLED


Detailed Description

This file contains the possible external configuration of the Nand Flash interface - Compiler: IAR EWAVR and GNU GCC for AVR

Definition in file conf_nf.h.


Define Documentation

#define NF_AUTO_DETECT_2KB   FALSE

************ Auto-detect mode

Values: TRUE : Firmware will autodetect FALSE: Firmware will not autodetect Note: the 2KB and 512B detect can't be enable in same time

Definition at line 64 of file conf_nf.h.

#define NF_AUTO_DETECT_512B   FALSE

Definition at line 65 of file conf_nf.h.

#define NF_TYPE_MT29F2G08AACWP

************ Static mode To enable a reference, you shall define a NF_TYPE_X (X = reference)

Definition at line 71 of file conf_nf.h.

#define NF_N_DEVICES   1

************ For all mode Define the number of NandFlash connected (= number of Chip Select)

Definition at line 76 of file conf_nf.h.

Referenced by main(), nf_cache_fbb_flush(), nf_cache_fbb_refill(), nf_cache_lut_flush(), nf_cache_lut_refill(), nf_check_fbb(), nf_check_lut(), nf_cleanup_memory(), nf_copy_tail(), nf_dfc_write_stop(), nf_erase_old_blocks(), nf_open_write(), nf_rebuild(), nf_scan(), nf_swap(), nf_translate(), nf_write_lut(), nf_xfer_update_vars(), and ut_nfc_erase_all().

#define ERASING_ALL   DISABLE

!!! Don't change following parameters

Definition at line 101 of file conf_nf.h.

#define NF_CACHE_LUT_LOG_SZ   64

Definition at line 102 of file conf_nf.h.

Referenced by nf_cache_lut_refill().

#define NF_CACHE_FBB_LOG_SZ   32

Definition at line 103 of file conf_nf.h.

Referenced by nf_cache_fbb_refill().

#define _ASSERT_   DISABLE

Definition at line 104 of file conf_nf.h.

 
#define Nf_access_signal_on (  ) 

Function linker for NF access indications.

Values : Nf_access_signal_on() The linked function is called when a read/write operation to NF starts Nf_access_signal_off() The linked function is called when the read/write operation to NF ends

Definition at line 111 of file conf_nf.h.

Referenced by nf_nf_2_ram(), nf_ram_2_nf(), nf_read_10(), nf_usb_stop(), and nf_write_10().

 
#define Nf_access_signal_off (  ) 

Definition at line 112 of file conf_nf.h.

Referenced by nf_nf_2_ram(), nf_ram_2_nf(), nf_read_10(), nf_usb_stop(), and nf_write_10().

#define NF_XMCR_MODULE_SHARED   DISABLED

External Memory Interface settings This driver uses the XMCR interface to accede to the NF, but the port could be shared with another peripheral (like a LCD module).

Values: ENABLED : the port driven by XMCR is also used for another peripheral, so XMCR will be disabled (port free of use) when the memory is not acceeded This is done automatically while user only directly calls the following functions :

Definition at line 126 of file conf_nf.h.

#define NF_CLE_ALE_MANUAL   ENABLED

Definition at line 127 of file conf_nf.h.


Generated on Wed Sep 23 09:17:03 2009 for ATMEL by  doxygen 1.5.3