SemiDrive SSDK Appication Program Interface PTG3.0
flash_ops_t

#include <sdrv_spi_nor.h>

Field Documentation

◆ fls_cancel

int(* fls_cancel) (struct spi_nor *nor)

◆ fls_deinit

void(* fls_deinit) (struct spi_nor *nor)

◆ fls_erase

int(* fls_erase) (struct spi_nor *nor, flash_addr_t addr, flash_size_t size)

◆ fls_get_flash_table

const struct flash_info *(* fls_get_flash_table) (uint32_t *num)

◆ fls_init

int(* fls_init) (struct spi_nor *nor, struct spi_nor_host *host, const struct spi_nor_config *flash_config)

◆ fls_main_function

void(* fls_main_function) (struct spi_nor *nor)

◆ fls_read

int(* fls_read) (struct spi_nor *nor, flash_addr_t addr, uint8_t *buf, flash_size_t size)

◆ fls_wait_idle

int(* fls_wait_idle) (struct spi_nor *nor)

◆ fls_write

int(* fls_write) (struct spi_nor *nor, flash_addr_t addr, const uint8_t *buf, flash_size_t size)

◆ fls_write_enable

int(* fls_write_enable) (struct spi_nor *nor, bool enable)

The documentation for this struct was generated from the following file: