SAMV71 Xplained Ultra Software Package 1.0

RawNandFlash.h File Reference

#include <stdint.h>
#include "NandFlashModel.h"
#include "NandFlashDma.h"

Go to the source code of this file.

Data Structures

struct  RawNandFlash

Functions

uint8_t RawNandFlash_Initialize (struct RawNandFlash *raw, const struct NandFlashModel *model, uint32_t commandAddress, uint32_t addressAddress, uint32_t dataAddress, const Pin pinChipEnable, const Pin pinReadyBusy)
void RawNandFlash_Reset (const struct RawNandFlash *raw)
uint32_t RawNandFlash_ReadId (const struct RawNandFlash *raw)
uint8_t RawNandFlash_EraseBlock (const struct RawNandFlash *raw, uint16_t block)
uint8_t RawNandFlash_ReadPage (const struct RawNandFlash *raw, uint16_t block, uint16_t page, void *data, void *spare)
uint8_t RawNandFlash_WritePage (const struct RawNandFlash *raw, uint16_t block, uint16_t page, void *data, void *spare)
uint8_t RawNandFlash_CopyPage (const struct RawNandFlash *raw, uint16_t sourceBlock, uint16_t sourcePage, uint16_t destBlock, uint16_t destPage)
uint8_t RawNandFlash_CopyBlock (const struct RawNandFlash *raw, uint16_t sourceBlock, uint16_t destBlock)

Detailed Description

Include Defines & macros for the raw nand flash layer.

Definition in file RawNandFlash.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines