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

This union represents the bit fields in the SPI 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   start_en: 1 
 
b 
 

详细描述

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

结构体成员变量说明

◆ [struct]

struct { ... } spi_er_data::b

Register bits.

◆ d32

uint32_t spi_er_data::d32

Raw register data.

◆ start_en

uint32_t spi_er_data::start_en

SPI Enable.
Enables and disables all spi operations. When disabled, all spi_slenrial transfers are halted immediately. Transmit and receive FIFO buffers are cleared when the device is disabled. It is impossible to program some of the spi control registers when enabled. When disabled, the ssi_sleep output is set (after delay) to inform the system that it is safe to remove the ssi_clk, thus saving power consumption in the system.
Values:

  • 0x0 (DISABLE): Disables Serial Transfer
  • 0x1 (ENABLED): Enables Serial Transfer

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