LUFA Library  120219
Dataflash.h File Reference

Board specific Dataflash driver header for the Atmel USBKEY. More...


#define DATAFLASH_CHIP1   (1 << 1)
#define DATAFLASH_CHIP2   (1 << 0)
#define DATAFLASH_PAGE_SIZE   1024
#define DATAFLASH_PAGES   8192


static void Dataflash_Init (void)
static uint8_t Dataflash_TransferByte (const uint8_t Byte) ATTR_ALWAYS_INLINE
static void Dataflash_SendByte (const uint8_t Byte) ATTR_ALWAYS_INLINE
static uint8_t Dataflash_ReceiveByte (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT
static uint8_t Dataflash_GetSelectedChip (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT
static void Dataflash_SelectChip (const uint8_t ChipMask) ATTR_ALWAYS_INLINE
static void Dataflash_DeselectChip (void) ATTR_ALWAYS_INLINE
static void Dataflash_SelectChipFromPage (const uint16_t PageAddress)
static void Dataflash_ToggleSelectedChipCS (void)
static void Dataflash_WaitWhileBusy (void)
static void Dataflash_SendAddressBytes (uint16_t PageAddress, const uint16_t BufferByte)

Detailed Description

Board specific Dataflash driver header for the Atmel USBKEY board.

This file should not be included directly. It is automatically included as needed by the dataflash driver dispatch header located in LUFA/Drivers/Board/Dataflash.h.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines