SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
spi_nor

#include <sdrv_spi_nor.h>

Data Fields

uint8_t id
 
uint8_t cs
 
uint32_t baudrate
 
uint32_t offset_address
 
enum spi_memory_type mem_type
 
enum spi_nor_device_mode dev_mode
 
struct flash_info info
 
bool phy_en
 
bool dqs_en
 
bool octal_dtr_en
 
bool async_mode
 
bool hyperbus_mode
 
bool sw_rst
 
uint32_t reg_proto
 
uint8_t addr_width
 
enum spi_nor_xfer_mode xfer_mode
 
struct flash_xfer_info xfer_info
 
struct flash_xfer_info xfer_info_bottom
 
flash_notification event_handler
 
flash_dma_config dma_xfer_config
 
flash_dma_stop dma_xfer_stop
 
flash_dma_stop_signal dma_stop
 
struct spi_nor_hosthost
 
void * ops
 
void * parent
 

Field Documentation

◆ addr_width

uint8_t addr_width

r/w/e transmission address width

◆ async_mode

bool async_mode

async mode selet

◆ baudrate

uint32_t baudrate

spi nor baudrate

◆ cs

uint8_t cs

spi nor cs signal

◆ dev_mode

enum spi_nor_device_mode dev_mode

dev mode LOCKSTEP/PARALLEL/SINGLE

◆ dma_stop

dma single channel stop callback

◆ dma_xfer_config

flash_dma_config dma_xfer_config

dma config callback

◆ dma_xfer_stop

flash_dma_stop dma_xfer_stop

dma stop callback

◆ dqs_en

bool dqs_en

dqs enable for device&&host

◆ event_handler

flash_notification event_handler

event callback

◆ host

struct spi_nor_host* host

host struct, operate the device

◆ hyperbus_mode

bool hyperbus_mode

hyperbus mode selet

◆ id

uint8_t id

spi nor id

◆ info

struct flash_info info

flash info

◆ mem_type

enum spi_memory_type mem_type

get type HYPERRAM/HYPERFLASH/HYPERBUS_MCP/NORFLASH

◆ octal_dtr_en

bool octal_dtr_en

octal dtr mode enable for device&&host

◆ offset_address

uint32_t offset_address

spi nor offset address

◆ ops

void* ops

◆ parent

void* parent

reverse

◆ phy_en

bool phy_en

phy en,turn it on for flash training use it

◆ reg_proto

uint32_t reg_proto

r/w/e transmission proto

◆ sw_rst

bool sw_rst

sw reset selet in flash init

◆ xfer_info

struct flash_xfer_info xfer_info

flash info to spi device

◆ xfer_info_bottom

struct flash_xfer_info xfer_info_bottom

flash info to spi device

◆ xfer_mode

enum spi_nor_xfer_mode xfer_mode

transmission mode dma/intterrupt/polling


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