Defines | Functions

Dataflash.h File Reference

Board specific Dataflash driver header for the STK525. More...

#include "AT45DB642D.h"

Defines

#define DATAFLASH_TOTALCHIPS   1
#define DATAFLASH_NO_CHIP   DATAFLASH_CHIPCS_MASK
#define DATAFLASH_CHIP1   0
#define DATAFLASH_PAGE_SIZE   1024
#define DATAFLASH_PAGES   8192

Functions

static void Dataflash_Init (void)
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 STK525.

Note:
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.