| Electronic Components Datasheet Search |
|
ESP8266 Datasheet(PDF) 37 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
|
|||||||||||||||||||||||||||||
ESP8266 Datasheet(HTML) 37 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
37 / 117 page ![]() ! 4. SPI Communication User Guide SpiAttr SPI parameters configuration typedef struct { SpiMode mode; ///< Master or slave mode SpiSubMode subMode; ///< SPI SPI_CPOL SPI_CPHA mode SpiSpeed speed; ///< SPI Clock SpiBitOrder bitOrder; ///< SPI bit order } SpiAttr; SpiData Data structure of SPI transmission typedef struct { uint16_t cmd; ///< Command value uint8_t cmdLen; ///< Command byte length uint32_t *addr; ///< Point to address value uint8_t addrLen; ///< Address byte length uint32_t *data; ///< Point to data buffer uint8_t dataLen; ///< Data byte length. } SpiData; SpiIntInfo Information structure of SPI interrupt configuration typedef struct { SpiIntSrc src; ///< Interrupt source void *isrFunc; ///< SPI interrupt callback function. } SpiIntInfo; 4.5.1.3. Constants ESP8266 Commands Name Value Description MASTER_WRITE_DATA_TO_SLAVE_CMD 2 Write data command in ESP8266 slave mode. MASTER_READ_DATA_FROM_SLAVE_CMD 3 Read data command in ESP8266 slave mode. MASTER_WRITE_STATUS_TO_SLAVE_CMD 1 Write status register command in ESP8266 slave mode. Espressif ! /! 29 104 2017.05 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |