WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
cmd_config联合体 参考

This union represents the bit fields in the SFC command config Register.
Read the register into the d32 member then set/clear the bits using the b elements. 更多...

#include <hal_sfc_v150_regs_def.h>

成员变量

uint32_t d32
 
struct { 
 
   uint32_t   start: 1 
 
   uint32_t   sel_cs: 1 
 
   uint32_t   reserved0: 1 
 
   uint32_t   addr_en: 1 
 
   uint32_t   dummy_byte_cnt: 3 
 
   uint32_t   data_en: 1 
 
   uint32_t   rw: 1 
 
   uint32_t   data_cnt: 6 
 
   uint32_t   reserved: 2 
 
   uint32_t   mem_if_type: 3 
 
   uint32_t   reserved1: 12 
 
b 
 
struct { 
 
   uint32_t   start: 1 
 
   uint32_t   sel_cs: 1 
 
   uint32_t   reserved0: 1 
 
   uint32_t   addr_en: 1 
 
   uint32_t   dummy_byte_cnt: 3 
 
   uint32_t   data_en: 1 
 
   uint32_t   rw: 1 
 
   uint32_t   data_cnt: 6 
 
   uint32_t   reserved: 2 
 
   uint32_t   mem_if_type: 3 
 
   uint32_t   reserved1: 12 
 
b 
 

详细描述

This union represents the bit fields in the SFC command config Register.
Read the register into the d32 member then set/clear the bits using the b elements.

结构体成员变量说明

◆ addr_en

uint32_t cmd_config::addr_en

Indicates whether an address is available for this operation.

◆ [struct] [1/2]

struct { ... } cmd_config::b

Register bits.

◆ [struct] [2/2]

struct { ... } cmd_config::b

Register bits.

◆ d32

uint32_t cmd_config::d32

Raw register data.

◆ data_cnt

uint32_t cmd_config::data_cnt

Data transfer length of the SPI operation. Data length = (data_cnt + 1) Byte.

◆ data_en

uint32_t cmd_config::data_en

Indicates whether data is available for this operation.

◆ dummy_byte_cnt

uint32_t cmd_config::dummy_byte_cnt

Number of dummy bytes in the operation.

◆ mem_if_type

uint32_t cmd_config::mem_if_type

SPI interface type. value: 000:Standard SPI; 001:Dual-Input/Dual-Output SPI(based on read/write); 010:Dual-I/O SPI; 101:Quad-Input/Dual-Output SPI(based on read/write); 110:Quad-I/O SPI; other: reserved.

◆ reserved

uint32_t cmd_config::reserved

◆ reserved0

uint32_t cmd_config::reserved0

◆ reserved1

uint32_t cmd_config::reserved1

◆ rw

uint32_t cmd_config::rw

SPI read/write indicator. 0: write; 1: read.

◆ sel_cs

uint32_t cmd_config::sel_cs

CS select operation.

◆ start

uint32_t cmd_config::start

SPI transfer enable control. Automatic return to 0 after the SPI transfer is complete.


该联合体的文档由以下文件生成: