Moving ESP-IDF specific files to lv_port
(#175)
* Move disp_spi.c and tp_spi.c to lv_port * Move esp_lcd_backlight to lv_port * Move disp_spi.h and tp_spi.h to lv_port
This commit is contained in:
parent
463721e291
commit
28d663f6b6
7 changed files with 7 additions and 5 deletions
|
@ -1,45 +0,0 @@
|
|||
/**
|
||||
* @file tp_spi.h
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TP_SPI_H
|
||||
#define TP_SPI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#include <stdint.h>
|
||||
#include <driver/spi_master.h>
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
void tp_spi_add_device(spi_host_device_t host);
|
||||
void tp_spi_add_device_config(spi_host_device_t host, spi_device_interface_config_t *config);
|
||||
void tp_spi_xchg(uint8_t* data_send, uint8_t* data_recv, uint8_t byte_count);
|
||||
void tp_spi_write_reg(uint8_t* data, uint8_t byte_count);
|
||||
void tp_spi_read_reg(uint8_t reg, uint8_t* data, uint8_t byte_count);
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*TP_SPI_H*/
|
Loading…
Add table
Add a link
Reference in a new issue