|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
This union represents the bit fields in the SFC bus config Register 1.
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 rd_mem_if_type: 3 | ||
| uint32_t rd_dummy_bytes: 3 | ||
| uint32_t rd_prefetch_cnt: 2 | ||
| uint32_t rd_ins: 8 | ||
| uint32_t wr_mem_if_type: 3 | ||
| uint32_t wr_dummy_bytes: 3 | ||
| uint32_t wr_ins: 8 | ||
| uint32_t wr_enable: 1 | ||
| uint32_t rd_enable: 1 | ||
| } | b | |
| struct { | ||
| uint32_t rd_mem_if_type: 3 | ||
| uint32_t rd_dummy_bytes: 3 | ||
| uint32_t rd_prefetch_cnt: 2 | ||
| uint32_t rd_ins: 8 | ||
| uint32_t wr_mem_if_type: 3 | ||
| uint32_t wr_dummy_bytes: 3 | ||
| uint32_t wr_ins: 8 | ||
| uint32_t wr_enable: 1 | ||
| uint32_t rd_enable: 1 | ||
| } | b | |
This union represents the bit fields in the SFC bus config Register 1.
Read the register into the d32 member then set/clear the bits using the b elements.
| struct { ... } bus_config1::b |
Register bits.
| struct { ... } bus_config1::b |
Register bits.
| uint32_t bus_config1::d32 |
Raw register data.
| uint32_t bus_config1::rd_dummy_bytes |
Number of dummy bytes in the read operation.
| uint32_t bus_config1::rd_enable |
Bus mode read enable.
| uint32_t bus_config1::rd_ins |
Read command of bus mode.
| uint32_t bus_config1::rd_mem_if_type |
SPI interface type of bus read 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.
| uint32_t bus_config1::rd_prefetch_cnt |
Prefetch cycle when the bus accesses the flash memory.
| uint32_t bus_config1::wr_dummy_bytes |
Number of dummy bytes in the write operation.
| uint32_t bus_config1::wr_enable |
Bus mode write enable.
| uint32_t bus_config1::wr_ins |
Write command of bus mode.
| uint32_t bus_config1::wr_mem_if_type |
SPI interface type of bus read. 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.