SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
spi_nor_host

#include <sdrv_spi_nor.h>

Data Fields

uint8_t id
 
addr_t base
 
unsigned int irq
 
sdrv_ckgen_node_tclk
 
unsigned long ref_clk_hz
 
bool xip_mode
 
struct spi_nor_host_opsops
 
struct hyperbus_host_opshyper_ops
 
struct spi_nordev
 
void * priv_data
 
struct spi_nornor_tab [SWITCH_DEVICE_MAX_NUM]
 
flash_size_t total_size
 

Field Documentation

◆ base

addr_t base

xspi apb base address

◆ clk

get host ckgen node

◆ dev

struct spi_nor* dev

spi_nor info

◆ hyper_ops

struct hyperbus_host_ops* hyper_ops

hyperbus host ops

◆ id

uint8_t id

xspi host id

◆ irq

unsigned int irq

xspi irq number

◆ nor_tab

struct spi_nor* nor_tab[SWITCH_DEVICE_MAX_NUM]

spi_nor binded

◆ ops

struct spi_nor_host_ops* ops

xspi nor host ops

◆ priv_data

void* priv_data

xspi private info

◆ ref_clk_hz

unsigned long ref_clk_hz

xspi reference clk

◆ total_size

flash_size_t total_size

all flash size

◆ xip_mode

bool xip_mode

device is xip mode


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