|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
This union represents the bit fields in the Slave Enable Register.
Read the register into the d32 member then set/clear the bits using the b elements.
更多...
#include <hal_spi_v151_regs_def.h>
成员变量 | ||
| uint32_t | d32 | |
| struct { | ||
| uint32_t ssef: 16 | ||
| } | b | |
This union represents the bit fields in the Slave Enable Register.
Read the register into the d32 member then set/clear the bits using the b elements.
| struct { ... } spi_slenr_data::b |
Register bits.
| uint32_t spi_slenr_data::d32 |
Raw register data.
| uint32_t spi_slenr_data::ssef |
Slave Select Enable Flag.
Each bit in this register corresponds to a slave select line (ss_x_n) from the spi master. When a bit in this register is set (1), the corresponding slave select line from the master is activated when a spi_slenrial transfer begins. It should be noted that setting or clearing bits in this register have no effect on the corresponding slave select outputs until a transfer is started. Before beginning a transfer, you should enable the bit in this register that corresponds to the slave device with which the master wants to communicate. When not operating in broadcast mode, only one bit in this field should be set.
Values: