mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-05-20 04:05:31 +01:00
21 lines
511 B
C
21 lines
511 B
C
#ifndef _GDS_DEFAULT_IF_H_
|
|
#define _GDS_DEFAULT_IF_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct GDS_Device;
|
|
|
|
bool GDS_I2CInit(int PortNumber, int SDA, int SCL, int speed);
|
|
bool GDS_I2CAttachDevice(struct GDS_Device* Device, int Width, int Height, int I2CAddress, int RSTPin, int BacklightPin);
|
|
|
|
bool GDS_SPIInit(int SPI, int DC);
|
|
bool GDS_SPIAttachDevice(struct GDS_Device* Device, int Width, int Height, int CSPin, int RSTPin, int Speed, int BacklightPin, int Mode);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|