ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
hspi.h
Go to the documentation of this file.
1 /*
2  * hspi.h
3  *
4  * Created on: 12 ÿíâ. 2015 ã.
5  * Author: Sem
6  */
7 
8 #ifndef INCLUDE_HSPI_H_
9 #define INCLUDE_HSPI_H_
10 
11 #define SPI 0
12 #define HSPI 1
13 #define HSPI_FIFO_SIZE 64
14 
15 #define CONFIG_FOR_TX 1
16 #define CONFIG_FOR_RX_TX 2
17 
18 /* hspi.c */
19 void hspi_init ( uint32_t prescale , int hwcs );
20 void hspi_waitReady ( void );
21 void hspi_TX ( uint8_t *data , int count );
22 void hspi_TXRX ( uint8_t *data , int count );
23 void hspi_RX ( uint8_t *data , int count );
24 
25 #endif /* INCLUDE_HSPI_H_ */
void hspi_TX(uint8_t *data, int count)
SPI buffered write functions.
Definition: hspi.c:265
void hspi_init(uint32_t prescale, int hwcs)
HSPI Initiaization - with automatic chip select Pins: MISO GPIO12 MOSI GPIO13 CLK GPIO14 CS GPIO15 - ...
Definition: hspi.c:55
unsigned int uint32_t
Definition: send.c:19
void hspi_waitReady(void)
HSPI Ready wait.
Definition: hspi.c:159
void hspi_RX(uint8_t *data, int count)
HSPI read using FIFO.
Definition: hspi.c:318
void hspi_TXRX(uint8_t *data, int count)
HSPI write and read using FIFO.
Definition: hspi.c:292
unsigned char uint8_t
Definition: send.c:17