touchgfx::HAL::setMCUActive() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::HAL::setMCUActive() method

@fn void HAL::setMCUActive(bool active); Register if MCU is active by measuring cpu cycles. Register if MCU is active by measuring cpu cycles. If user wishes to track MCU load, this method should be called whenever the OS Idle task is scheduled in or out. This method makes calls to a concrete implementation of GPIO functionality and a concrete implementation of cpu cycles.

Syntax

void setMCUActive(bool active);

Arguments

active

If true, MCU is registered as being active, inactive otherwise.

References

LocationReferrerText
HAL.hpp:831
void setMCUActive(bool active);
OSWrappers.cpp:77IdleTaskHook()
touchgfx::HAL::getInstance()->setMCUActive(true);
OSWrappers.cpp:81IdleTaskHook()
touchgfx::HAL::getInstance()->setMCUActive(false);

Call Tree

Functions calling touchgfx::HAL::setMCUActive()
all items filtered out
touchgfx::HAL::setMCUActive()