#include <ti/devices/cc13x0/driverlib/driverlib_release.h>
/*SDK 1_60_00_21*/
#if (DRIVERLIB_RELEASE_BUILD <= 50218)
const DisplaySharp_HWAttrs displaySharpHWattrs = {
.spiIndex = CC1310_LAUNCHXL_SPI0,
.csPin = CC1310_LAUNCHXL_LCD_CS,
.extcominPin = CC1310_LAUNCHXL_LCD_EXTCOMIN,
.powerPin = CC1310_LAUNCHXL_LCD_POWER,
.enablePin = CC1310_LAUNCHXL_LCD_ENABLE,
.pixelWidth = BOARD_DISPLAY_SHARP_SIZE,
.pixelHeight = BOARD_DISPLAY_SHARP_SIZE,
.displayBuf = sharpDisplayBuf,
};
#else /*SDK 2_10_02_10*/
const DisplaySharp_HWAttrsV1 displaySharpHWattrs = {
.spiIndex = CC1310_LAUNCHXL_SPI0,
.csPin = CC1310_LAUNCHXL_LCD_CS,
.powerPin = CC1310_LAUNCHXL_LCD_POWER,
.enablePin = CC1310_LAUNCHXL_LCD_ENABLE,
.pixelWidth = BOARD_DISPLAY_SHARP_SIZE,
.pixelHeight = BOARD_DISPLAY_SHARP_SIZE,
.displayBuf = sharpDisplayBuf,
};
#endif