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.
ButtonManager/ide-touchgfx-gen/TouchGFX/App/app_touchgfx.c

57 lines
1.5 KiB
C
Raw Permalink Normal View History

2023-11-26 19:13:49 +00:00
/**
******************************************************************************
* File Name : app_touchgfx.c
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Liberty license
* SLA0044, the "License"; You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
* www.st.com/SLA0044
*
******************************************************************************
*/
#include "app_touchgfx.h"
void touchgfx_init(void);
void touchgfx_taskEntry(void);
/**
* Initialize TouchGFX application
*/
void MX_TouchGFX_Init(void)
{
#if defined(TOUCHGFX_ENABLED) && (TOUCHGFX_ENABLED != 0)
// Calling forward to touchgfx_init in C++ domain
touchgfx_init();
#endif
}
/**
* TouchGFX application entry function
*/
void MX_TouchGFX_Process(void)
{
#if defined(TOUCHGFX_ENABLED) && (TOUCHGFX_ENABLED != 0)
// Calling farward to touchgfx_init in C++ domain
touchgfx_taskEntry();
#endif
}
/**
* TouchGFX application thread
*/
void TouchGFX_Task(void *argument)
{
#if defined(TOUCHGFX_ENABLED) && (TOUCHGFX_ENABLED != 0)
// Calling farward to touchgfx_init in C++ domain
touchgfx_taskEntry();
#endif
}
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/