WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_sfc_v150_regs_op.c 文件参考
#include "common_def.h"
#include "tcxo.h"
#include "hal_sfc_v150_regs_op.h"
hal_sfc_v150_regs_op.c 的引用(Include)关系图:

宏定义

#define CONFIG_START   1
 
#define FLASH_CS   1
 
#define RD_ENABLE   1
 
#define WR_ENABLE   1
 

函数

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
 

宏定义说明

◆ CONFIG_START

#define CONFIG_START   1

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

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

◆ FLASH_CS

#define FLASH_CS   1

◆ RD_ENABLE

#define RD_ENABLE   1

◆ WR_ENABLE

#define WR_ENABLE   1