mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-03-21 13:59:25 +00:00
21 lines
462 B
C
21 lines
462 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 );
|
|
bool GDS_I2CAttachDevice( struct GDS_Device* Device, int Width, int Height, int I2CAddress, int RSTPin );
|
|
|
|
bool GDS_SPIInit( int SPI, int DC );
|
|
bool GDS_SPIAttachDevice( struct GDS_Device* Device, int Width, int Height, int CSPin, int RSTPin, int Speed );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|