#include "../Peripheral/SPI.h"
#include "../../Common/Common.h"
Functions | |
static uint8_t | Dataflash_GetSelectedChip (void) |
static void | Dataflash_SelectChip (uint8_t ChipMask) |
static void | Dataflash_DeselectChip (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 void | Dataflash_Init (const uint8_t PrescalerMask) |
static void | Dataflash_ToggleSelectedChipCS (void) |
static void | Dataflash_WaitWhileBusy (void) |
static void | Dataflash_SelectChipFromPage (const uint16_t PageAddress) |
static void | Dataflash_SendAddressBytes (uint16_t PageAddress, const uint16_t BufferByte) |
User code should include this file, which will in turn include the correct dataflash driver header file for the currently selected board.
If the BOARD value is set to BOARD_USER, this will include the /Board/Dataflash.h file in the user project directory.