| Electronic Components Datasheet Search |
|
ESP8266 Datasheet(PDF) 31 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
|
|||||||||||||||||||||||||||||
ESP8266 Datasheet(HTML) 31 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
31 / 117 page ![]() ! 4. SPI Communication User Guide 4.3.4. Slave SPI Communication Format Supported by Current API The API function of ESP8266 SPI has a slave initialization mode which is compatible with most of the devices in bytes. Set the slave communication format of 7 bits command+8 bits read/write data so that other master SPI devices could read and write bytes of slave SPI via the 16 bits communication (or two times 8 bits with low lever CS). Please refer to Section 4.4.2 for detailed information. 4.4. API Function Description of SPI Module 4.4.1. API Function Description of Master SPI 1. void spi_lcd_mode_init(uint8 spi_no) Function: Provide master SPI initialization program for driving the chromatic LCD TM035PDZV36. 2. void spi_lcd_9bit_write(uint8 spi_no,uint8 high_bit,uint8 low_8bit) Function: Provide master SPI transmitting program for driving the chromatic LCD TM035PDZV36. The LCD module needs a 9 bits transmitting. 3. void spi_master_init(uint8 spi_no) Function: Normal master SPI initialization function. Baud rate is the 1/4 frequency of CPU clock. All the master functions except spi_lcd_9bit_write can be used after initialization. 4. void spi_mast_byte_write(uint8 spi_no,uint8 data) Function: Master data sending of one byte. Parameter Description uint8 spi_no The number of SPI module. Only input SPI(0) and HSPI(1). Any other inputs are invalid. Parameter Description uint8 spi_no The number of SPI module. Only input SPI(0) and HSPI(1). Any other inputs are invalid. uint8 high_bit he 9’s data. 0 represents the 9’s 0 and other data represents the 9’s 1. uint8 low_8bit Low 8 bit data. Parameter Description uint8 spi_no The number of SPI module. Only input SPI(0) and HSPI(1). Any other inputs are invalid. Espressif ! /! 23 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 |