UPP/MATLAB/app_wrapper/app_wrapper.c

28 lines
593 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "mcu_wrapper_conf.h"
#include "app_wrapper.h"
/**
* @brief Функция для симуляции шага приложения МК
* @details Используется в случае симуляции без отдельного потока для main().
*/
void app_step(void)
{
// USER APP STEP START
UPP_While();
static uint32_t uwTickPrev = 0;
if (uwTickPrev != uwTick)
{
uwTickPrev = uwTick;
UPP_Tick();
}
// USER APP STEP END
}
// DUMMY START
// Заглушки для различных функций и переменных
// DUMMY END