gds_default_if.h 519 B

1234567891011121314151617181920
  1. #ifndef _GDS_DEFAULT_IF_H_
  2. #define _GDS_DEFAULT_IF_H_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. struct GDS_Device;
  7. bool GDS_I2CInit( int PortNumber, int SDA, int SCL, int speed );
  8. bool GDS_I2CAttachDevice( struct GDS_Device* Device, int Width, int Height, int I2CAddress, int RSTPin, int BacklightPin );
  9. bool GDS_SPIInit( int SPI, int DC );
  10. bool GDS_SPIAttachDevice( struct GDS_Device* Device, int Width, int Height, int CSPin, int RSTPin, int Speed, int BacklightPin, int Mode );
  11. #ifdef __cplusplus
  12. }
  13. #endif
  14. #endif