# WifiIotSpiCfgBasicInfo ## **Overview** **Related Modules:** [Wifiiot](Wifiiot.md) **Description:** Defines data communication parameters. ## **Summary** ## Data Fields

Variable Name

Description

cpol: 1

unsigned int 

cpha: 1

unsigned int 

framMode: 2

unsigned int 

dataWidth: 4

unsigned int 

endian: 1

unsigned int 

pad: 23

unsigned int 

freq

unsigned int 

## **Details** ## **Field Documentation** ## cpha ``` unsigned int WifiIotSpiCfgBasicInfo::cpha ``` **Description:** Communication phase. For details about available values, see [WifiIotSpiCfgClockCpha](Wifiiot.md#ga1eb13cffbbdec9da1d57c766763b94e5). ## cpol ``` unsigned int WifiIotSpiCfgBasicInfo::cpol ``` **Description:** Communication polarity. For details about available values, see [WifiIotSpiCfgClockCpol](Wifiiot.md#gad6674c8b0989b6a329d5fd5ff0d5d750). ## dataWidth ``` unsigned int WifiIotSpiCfgBasicInfo::dataWidth ``` **Description:** Communication data width. For details about available values, see [WifiIotSpiCfgDataWidth](Wifiiot.md#ga6f2e44db2698c33b81bd6caa438a55ea). ## endian ``` unsigned int WifiIotSpiCfgBasicInfo::endian ``` **Description:** Endian mode. For details about available values, see [WifiIotSpiCfgEndian](Wifiiot.md#ga31924085df23a024413fa6e63e13c41e). ## framMode ``` unsigned int WifiIotSpiCfgBasicInfo::framMode ``` **Description:** Communication protocol. For details about available values, see [WifiIotSpiCfgFramMode](Wifiiot.md#gaef7c192e049db14e2326c0bfba181670). ## freq ``` unsigned int WifiIotSpiCfgBasicInfo::freq ``` **Description:** Communication frequency. The value ranges from 2460 Hz to 40 MHz. ## pad ``` unsigned int WifiIotSpiCfgBasicInfo::pad ``` **Description:** Padding bit