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

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]

struct { ... } spi_slenr_data::b

Register bits.

◆ d32

uint32_t spi_slenr_data::d32

Raw register data.

◆ ssef

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:

  • 0x0 (NOT_SELECTED): No slave selected
  • 0x1 (SELECTED): Slave is selected

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