#ifndef __DISPLAY_H
#define __DISPLAY_H

/**
  ******************************************************************************
  * @file           : main.h
  * @brief          : Header for main.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
  * All rights reserved.</center></h2>
  *
  * This software component is licensed by ST under BSD 3-Clause license,
  * the "License"; You may not use this file except in compliance with the
  * License. You may obtain a copy of the License at:
  *                        opensource.org/licenses/BSD-3-Clause
  *
  ******************************************************************************
  */

#ifdef __cplusplus
extern "C" {
#endif

void     touchgfxDisplayDriverTransmitBlock(const uint8_t* pixels, uint16_t x, uint16_t y, uint16_t w, uint16_t h);
int      touchgfxDisplayDriverTransmitActive(void);
int      touchgfxDisplayDriverShouldTransferBlock(uint16_t bottom);
void     DisplayDriver_DMACallback(void);
void     DisplayDriver_Init(void);
void     DisplayDriver_DisplayOn(void);
void     DisplayDriver_DisplayReset(void);
void     DisplayDriver_DisplayInit(void);
void     DisplayDriver_TransferCompleteCallback(void);

#ifdef __cplusplus
}
#endif

#endif

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
