1
0
This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
Files
RealtimeOscilloscope/src/app/touchgfxtask.h
2023-11-28 14:19:36 +01:00

29 lines
502 B
C++

#ifndef TOUCHGFXTASK_H
#define TOUCHGFXTASK_H
#include "config/touchgfx-config.h"
#if (TOUCHGFX_BAREMETAL != 0)
#include "xf/behavior.h"
/**
* @brief TouchGFX task used in IDF and/or bare-metal environments to drive LCD display.
*/
class TouchGfxTask : public XFBehavior
{
public:
TouchGfxTask();
void initialize();
void start();
protected:
XFEventStatus processEvent() override;
protected:
const int32_t interval_;
};
#endif // TOUCHGFX_BAREMETAL
#endif // TOUCHGFXTASK_H