LUFA Library  140928
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Dataflash.h File Reference

LUFA Custom Board Dataflash Hardware Driver (Template) More...

Macros

#define DATAFLASH_CHIP1
 
#define DATAFLASH_CHIP2
 
#define DATAFLASH_NO_CHIP   0
 
#define DATAFLASH_PAGE_SIZE
 
#define DATAFLASH_PAGES
 
#define DATAFLASH_TOTALCHIPS   1
 

Detailed Description

This is a stub driver header file, for implementing custom board layout hardware with compatible LUFA board specific drivers. If the library is configured to use the BOARD_USER board mode, this driver file should be completed and copied into the "/Board/" folder inside the application's folder.

This stub is for the board-specific component of the LUFA Dataflash driver.

Macro Definition Documentation

#define DATAFLASH_CHIP1

Mask for the first dataflash chip selected.

#define DATAFLASH_CHIP2

Mask for the second dataflash chip selected.

#define DATAFLASH_NO_CHIP   0

Mask for no dataflash chip selected.

#define DATAFLASH_PAGE_SIZE

Internal main memory page size for the board's dataflash ICs.

#define DATAFLASH_PAGES

Total number of pages inside each of the board's dataflash ICs.

#define DATAFLASH_TOTALCHIPS   1

Constant indicating the total number of dataflash ICs mounted on the selected board.