WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
SFC v150 Regs Operation

结构体

struct  hal_spi_opreation
 SPI mode opreation base info. 更多...
 

类型定义

typedef struct hal_spi_opreation hal_spi_opreation_t
 SPI mode opreation base info.
 
typedef struct hal_spi_opreation hal_spi_opreation_t
 SPI mode opreation base info.
 

函数

void hal_sfc_regs_set_opt (hal_spi_opreation_t hal_opt)
 Set cmd config and cmd ins by basic command info
 
void hal_sfc_regs_set_opt_attr (uint32_t rw, uint32_t data_en, uint32_t addr_en)
 Set cmd config by command attribute
 
void hal_sfc_regs_wait_config (void)
 Wait region start of cmd_config_t be 0
 
void hal_sfc_dma_wait_done (void)
 Wait region dma_start of bus_dma_ctrl_t be 0
 
void hal_sfc_regs_set_bus_read (spi_opreation_t opt_read)
 Set read command info in bus mode
 
void hal_sfc_regs_set_bus_write (spi_opreation_t opt_write)
 Set write command info in bus mode
 
void hal_sfc_regs_set_opt (hal_spi_opreation_t *hal_opt)
 Set cmd config and cmd ins by basic command info
 

变量

uintptr_t g_sfc_global_conf_regs
 
uintptr_t g_sfc_bus_regs
 
uintptr_t g_sfc_bus_dma_regs
 
uintptr_t g_sfc_cmd_regs
 
uintptr_t g_sfc_cmd_databuf
 
uintptr_t g_sfc_global_conf_regs
 
uintptr_t g_sfc_bus_regs
 
uintptr_t g_sfc_bus_dma_regs
 
uintptr_t g_sfc_cmd_regs
 
uintptr_t g_sfc_cmd_databuf
 

详细描述

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.

Description: Provides v150 SFC register operation api
History:
2022-12-01, Create file.

类型定义说明

◆ hal_spi_opreation_t [1/2]

SPI mode opreation base info.

◆ hal_spi_opreation_t [2/2]

SPI mode opreation base info.

函数说明

◆ hal_sfc_dma_wait_done()

void hal_sfc_dma_wait_done ( void  )

Wait region dma_start of bus_dma_ctrl_t be 0

◆ hal_sfc_regs_set_bus_read()

void hal_sfc_regs_set_bus_read ( spi_opreation_t  opt_read)

Set read command info in bus mode

参数
[in]opt_readread opreation info.

◆ hal_sfc_regs_set_bus_write()

void hal_sfc_regs_set_bus_write ( spi_opreation_t  opt_write)

Set write command info in bus mode

参数
[in]opt_writewrite opreation info.

◆ hal_sfc_regs_set_opt() [1/2]

void hal_sfc_regs_set_opt ( hal_spi_opreation_t hal_opt)

Set cmd config and cmd ins by basic command info

参数
[in]hal_optSPI mode opreation parameters.

◆ hal_sfc_regs_set_opt() [2/2]

void hal_sfc_regs_set_opt ( hal_spi_opreation_t  hal_opt)

Set cmd config and cmd ins by basic command info

参数
[in]hal_optSPI mode opreation parameters.

◆ hal_sfc_regs_set_opt_attr()

void hal_sfc_regs_set_opt_attr ( uint32_t  rw,
uint32_t  data_en,
uint32_t  addr_en 
)

Set cmd config by command attribute

参数
[in]rwregion rw of cmd_config_t
[in]data_enregion data_en of cmd_config_t
[in]addr_enregion addr_en of cmd_config_t

◆ hal_sfc_regs_wait_config()

void hal_sfc_regs_wait_config ( void  )

Wait region start of cmd_config_t be 0

变量说明

◆ g_sfc_bus_dma_regs [1/2]

uintptr_t g_sfc_bus_dma_regs
extern

◆ g_sfc_bus_dma_regs [2/2]

uintptr_t g_sfc_bus_dma_regs
extern

◆ g_sfc_bus_regs [1/2]

uintptr_t g_sfc_bus_regs
extern

◆ g_sfc_bus_regs [2/2]

uintptr_t g_sfc_bus_regs
extern

◆ g_sfc_cmd_databuf [1/2]

uintptr_t g_sfc_cmd_databuf
extern

◆ g_sfc_cmd_databuf [2/2]

uintptr_t g_sfc_cmd_databuf
extern

◆ g_sfc_cmd_regs [1/2]

uintptr_t g_sfc_cmd_regs
extern

◆ g_sfc_cmd_regs [2/2]

uintptr_t g_sfc_cmd_regs
extern

◆ g_sfc_global_conf_regs [1/2]

uintptr_t g_sfc_global_conf_regs
extern

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.

Description: Provides HAL SFC
History:
2022-12-01, Create file.

◆ g_sfc_global_conf_regs [2/2]

uintptr_t g_sfc_global_conf_regs
extern

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.

Description: Provides HAL SFC
History:
2022-12-01, Create file.